fix(webui): keep prompt rail at original gutter offset
This commit is contained in:
@@ -570,17 +570,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.thread-viewport {
|
.thread-viewport {
|
||||||
--thread-message-column-half: 24.75rem;
|
|
||||||
--thread-prompt-rail-offset: 3.5rem;
|
|
||||||
container-name: thread-viewport;
|
container-name: thread-viewport;
|
||||||
container-type: inline-size;
|
container-type: inline-size;
|
||||||
}
|
}
|
||||||
|
|
||||||
.thread-prompt-rail {
|
.thread-prompt-rail {
|
||||||
display: none;
|
display: none;
|
||||||
left: calc(
|
left: 1.75rem;
|
||||||
50% - var(--thread-message-column-half) - var(--thread-prompt-rail-offset)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
@@ -589,7 +585,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@container thread-viewport (max-width: 58rem) {
|
@container thread-viewport (max-width: 59rem) {
|
||||||
.thread-prompt-rail {
|
.thread-prompt-rail {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user