fix: scope chat scroll lock to chat shell (#1283) (thanks @bradleypriest)
This commit is contained in:
@@ -10,6 +10,7 @@ Docs: https://docs.clawd.bot
|
|||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
- Gateway: strip inbound envelope headers from chat history messages to keep clients clean.
|
- Gateway: strip inbound envelope headers from chat history messages to keep clients clean.
|
||||||
|
- UI: prevent double-scroll in Control UI chat by locking chat layout to the viewport. (#1283) — thanks @bradleypriest.
|
||||||
|
|
||||||
## 2026.1.19-2
|
## 2026.1.19-2
|
||||||
|
|
||||||
|
|||||||
@@ -6,8 +6,6 @@
|
|||||||
--shell-focus-duration: 220ms;
|
--shell-focus-duration: 220ms;
|
||||||
--shell-focus-ease: cubic-bezier(0.2, 0.85, 0.25, 1);
|
--shell-focus-ease: cubic-bezier(0.2, 0.85, 0.25, 1);
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
height: 100vh;
|
|
||||||
overflow: hidden;
|
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: var(--shell-nav-width) minmax(0, 1fr);
|
grid-template-columns: var(--shell-nav-width) minmax(0, 1fr);
|
||||||
grid-template-rows: var(--shell-topbar-height) 1fr;
|
grid-template-rows: var(--shell-topbar-height) 1fr;
|
||||||
@@ -19,6 +17,18 @@
|
|||||||
transition: grid-template-columns var(--shell-focus-duration) var(--shell-focus-ease);
|
transition: grid-template-columns var(--shell-focus-duration) var(--shell-focus-ease);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.shell--chat {
|
||||||
|
min-height: 100vh;
|
||||||
|
height: 100vh;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
@supports (height: 100dvh) {
|
||||||
|
.shell--chat {
|
||||||
|
height: 100dvh;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.shell--nav-collapsed {
|
.shell--nav-collapsed {
|
||||||
grid-template-columns: 0px minmax(0, 1fr);
|
grid-template-columns: 0px minmax(0, 1fr);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user