Skip to content

Commit 7274779

Browse files
authored
Fix the order of the "spacing" utilities (#501)
The responsive versions of the spacing utilities were generated before the standard ones. This causes issues if you use a "mobile first" pattern, where you start out with the non-responsive classes and add overrides with the responsive versions if needed. Since the responsive version was defined before the regular one, the regular one always wins. By changing the order it now works as expected.
1 parent ba281fc commit 7274779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

styles/_a-utilities.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@import "./utilities/u-max-widths";
1717
@import "./utilities/u-paragraphs";
1818
@import "./utilities/u-print";
19-
@import "./utilities/u-responsive-spacings";
2019
@import "./utilities/u-spacings";
20+
@import "./utilities/u-responsive-spacings";
2121
@import "./utilities/u-visible";
2222
@import "./utilities/u-widths";

0 commit comments

Comments
 (0)