Update compositions.grid.css: replace .grid > .column by .grid > *
This commit is contained in:
parent
e2bebc5279
commit
b57f896c21
1 changed files with 4 additions and 4 deletions
|
|
@ -13,7 +13,7 @@
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.grid > .column {
|
||||
.grid > * {
|
||||
margin-bottom: var(--gap);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
@ -28,12 +28,12 @@
|
|||
grid-template-columns: repeat(6, 1fr);
|
||||
}
|
||||
|
||||
.grid > .column {
|
||||
.grid > * {
|
||||
-ms-grid-column: span 6;
|
||||
grid-column: span 6;
|
||||
}
|
||||
|
||||
.grid > .column[style*="--columns:3"] {
|
||||
.grid > *[style*="--columns:3"] {
|
||||
-ms-grid-column: span 3;
|
||||
grid-column: span 3;
|
||||
}
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
grid-template-columns: repeat(12, 1fr);
|
||||
}
|
||||
|
||||
.grid > .column {
|
||||
.grid > * {
|
||||
-ms-grid-column: span var(--columns);
|
||||
grid-column: span var(--columns);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue