Keep the dashboard's vertical rhythm under the grid
Grid items never collapse margins, so the row-filter input and the rating form pushed the next child down by their bottom margins. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -231,7 +231,9 @@
|
|||||||
[full-end];
|
[full-end];
|
||||||
}
|
}
|
||||||
@media (width >= 40rem) { .dashboard { --gutter:1.5rem; } }
|
@media (width >= 40rem) { .dashboard { --gutter:1.5rem; } }
|
||||||
.dashboard > * { grid-column:content; min-width:0; }
|
/* Grid items never collapse margins, so a child's bottom margin (`.table-filter`, `.rating`) would add to
|
||||||
|
the next child's `mt-4`; the rhythm comes from top margins only. `!important` beats those utilities. */
|
||||||
|
.dashboard > * { grid-column:content; min-width:0; margin-bottom:0 !important; }
|
||||||
.dashboard > .scroll-x { grid-column:wide; }
|
.dashboard > .scroll-x { grid-column:wide; }
|
||||||
.dashboard > .scroll-x > table {
|
.dashboard > .scroll-x > table {
|
||||||
width:auto;
|
width:auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user