fix(ui): dashboard grid fills available viewport height
Use flex: 1 on dash-grid instead of height: 480px so the panels consume all remaining space below the stat cards; dash-side uses height: 100% to fill its grid cell
This commit is contained in:
@@ -260,7 +260,8 @@
|
|||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 2fr 1fr;
|
grid-template-columns: 2fr 1fr;
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
height: 480px;
|
flex: 1;
|
||||||
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dash-grid > .logs-section {
|
.dash-grid > .logs-section {
|
||||||
@@ -281,6 +282,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dash-side > .logs-section {
|
.dash-side > .logs-section {
|
||||||
|
|||||||
Reference in New Issue
Block a user