Use dynamic viewport height for panels

This commit is contained in:
jxxghp
2026-06-29 20:06:42 +08:00
parent c57a8b7b48
commit 5c27c32914
2 changed files with 4 additions and 4 deletions

View File

@@ -2372,9 +2372,9 @@ onScopeDispose(() => {
--agent-assistant-panel-blur: 10px;
}
@supports (block-size: 100svh) {
@supports (block-size: 100dvh) {
.agent-assistant-shell {
block-size: 100svh;
block-size: 100dvh;
}
}

View File

@@ -448,9 +448,9 @@ async function handleResetSettings() {
min-block-size: 0;
}
@supports (block-size: 100svh) {
@supports (block-size: 100dvh) {
.theme-customizer-panel {
block-size: 100svh;
block-size: 100dvh;
}
}