fix(ui): make panel history max-height responsive to viewport

This commit is contained in:
Simon
2026-04-08 17:05:10 +08:00
parent 2c1972ed89
commit 12b6001d53

View File

@@ -291,7 +291,7 @@
transition: max-height 0.2s; transition: max-height 0.2s;
.expanded & { .expanded & {
max-height: 400px; max-height: min(500px, calc(100vh - 200px - var(--height)));
} }
.historyItem { .historyItem {