Skip to content

Commit

Permalink
Fix the order of the "spacing" utilities
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Windvis committed Jul 31, 2024
1 parent a879ae8 commit b34212f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion styles/_a-utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@import "./utilities/u-max-widths";
@import "./utilities/u-paragraphs";
@import "./utilities/u-print";
@import "./utilities/u-responsive-spacings";
@import "./utilities/u-spacings";
@import "./utilities/u-responsive-spacings";
@import "./utilities/u-visible";
@import "./utilities/u-widths";

0 comments on commit b34212f

Please sign in to comment.