Skip to content

Commit 74cdea6

Browse files
committed
Add missing .grid-x prefix on base cell widths. This fixes the width: auto of breakpoint sizes auto/shrink classes overwriting the widths.
1 parent 7e93a31 commit 74cdea6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

scss/xy-grid/_classes.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,11 @@
5858
@include xy-cell-base(shrink);
5959
@include xy-cell-static(shrink, false);
6060
}
61-
6261
}
6362

64-
6563
@for $i from 1 through $grid-columns {
6664
// Sizing (percentage)
67-
.#{$-zf-size}-#{$i} {
65+
.grid-x > .#{$-zf-size}-#{$i} {
6866
@include xy-cell-static($i, false, $gutter-type: padding);
6967
}
7068
}

0 commit comments

Comments
 (0)