Fix issues with nesting grids inside grids

This commit is contained in:
Andrew Kingston 2024-08-06 11:28:58 +01:00
parent d3b7a06871
commit cacc2ab087
No known key found for this signature in database
1 changed files with 14 additions and 0 deletions

View File

@ -54,6 +54,20 @@
position: relative;
height: 400px;
--spacing: 10;
/*
Prevent cross-grid variable inheritance. The other variables for alignment
are always set on each component, so we don't need to worry about
inheritance.
*/
--grid-desktop-col-start: initial;
--grid-desktop-col-end: initial;
--grid-desktop-row-start: initial;
--grid-desktop-row-end: initial;
--grid-mobile-col-start: initial;
--grid-mobile-col-end: initial;
--grid-mobile-row-start: initial;
--grid-mobile-row-end: initial;
}
.grid,