fix(ui): clamp filter panel height to viewport

This commit is contained in:
Will Miao
2026-08-07 16:53:04 +08:00
parent 2b8a2fc7d8
commit 86376284f4
2 changed files with 3 additions and 0 deletions

View File

@@ -152,6 +152,7 @@
box-shadow: var(--shadow-md);
z-index: var(--z-overlay);
padding: 16px;
box-sizing: border-box; /* Include padding in max-height calculation */
transition: transform 0.3s ease, opacity 0.3s ease;
transform-origin: top right;
max-height: calc(100vh - 70px); /* Adjusted for header height */