fix(webui): keep prompt rail at original gutter offset

This commit is contained in:
chengyongru
2026-07-08 12:16:47 +08:00
committed by Xubin Ren
parent c188e96f4e
commit ea7f4679f1
+2 -6
View File
@@ -570,17 +570,13 @@
}
.thread-viewport {
--thread-message-column-half: 24.75rem;
--thread-prompt-rail-offset: 3.5rem;
container-name: thread-viewport;
container-type: inline-size;
}
.thread-prompt-rail {
display: none;
left: calc(
50% - var(--thread-message-column-half) - var(--thread-prompt-rail-offset)
);
left: 1.75rem;
}
@media (min-width: 768px) {
@@ -589,7 +585,7 @@
}
}
@container thread-viewport (max-width: 58rem) {
@container thread-viewport (max-width: 59rem) {
.thread-prompt-rail {
display: none;
}