We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75cd77a commit 980bcc4Copy full SHA for 980bcc4
1 file changed
src/pss/layout/_grid.pss
@@ -28,7 +28,7 @@
28
}
29
30
.row-$i {
31
- height: calc((100% / var(--grid-col-count)) * $i);
+ height: calc((100% * $i) / var(--grid-col-count));
32
33
34
@@ -46,11 +46,11 @@
46
@for $i from 1 to var(--grid-col-count) {
47
@if($i != var(--grid-col-count)) {
48
.col-offset-$i {
49
- margin-left: calc((100% / var(--grid-col-count)) * $i);
+ margin-left: calc((100% * $i) / var(--grid-col-count));
50
51
52
53
.col-$i {
54
- width: calc((100% / var(--grid-col-count)) * $i);
+ width: calc((100% * $i) / var(--grid-col-count));
55
56
0 commit comments