From b34212f87af2a2b3ebbfbdd2f60cf401520ed54d Mon Sep 17 00:00:00 2001 From: Sam Van Campenhout Date: Wed, 31 Jul 2024 15:00:42 +0200 Subject: [PATCH] Fix the order of the "spacing" utilities 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. --- styles/_a-utilities.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/_a-utilities.scss b/styles/_a-utilities.scss index 349113aae..4967a4edc 100644 --- a/styles/_a-utilities.scss +++ b/styles/_a-utilities.scss @@ -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";