fix: scope chat scroll lock to chat shell (#1283) (thanks @bradleypriest)

This commit is contained in:
Peter Steinberger
2026-01-20 06:28:11 +00:00
parent 638fdad048
commit d5ffc672dd
2 changed files with 13 additions and 2 deletions

View File

@@ -6,8 +6,6 @@
--shell-focus-duration: 220ms;
--shell-focus-ease: cubic-bezier(0.2, 0.85, 0.25, 1);
min-height: 100vh;
height: 100vh;
overflow: hidden;
display: grid;
grid-template-columns: var(--shell-nav-width) minmax(0, 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);
}
.shell--chat {
min-height: 100vh;
height: 100vh;
overflow: hidden;
}
@supports (height: 100dvh) {
.shell--chat {
height: 100dvh;
}
}
.shell--nav-collapsed {
grid-template-columns: 0px minmax(0, 1fr);
}