fix(ui): bound dashboard height so panels don't overflow viewport

.content-viewport is overflow-y: auto so flex:1 on dash-grid grew to
content height. Fix: dashboard uses height:100% instead of min-height,
and :has(>.dashboard) disables content-viewport scroll only on that
route — all other pages keep their normal scroll.
This commit is contained in:
2026-04-30 00:32:16 -04:00
parent 9ed0094045
commit 18393f1e1c
2 changed files with 6 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
display: flex;
flex-direction: column;
gap: 24px;
min-height: 100%;
height: 100%;
}
/* Page header */

View File

@@ -346,3 +346,8 @@
padding: 32px;
overflow-y: auto;
}
/* Dashboard fills the viewport without scrolling — panels scroll internally */
.content-viewport:has(> .dashboard) {
overflow: hidden;
}