Skip to content

Commit

Permalink
Merge pull request #3346 from uswds/dw-fix-utility-prefixes
Browse files Browse the repository at this point in the history
Fix missing $media-prefix prop
  • Loading branch information
mejiaj committed Mar 16, 2020
2 parents 857d34e + 72d2952 commit 7a13a0e
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions src/stylesheets/core/mixins/_utility-builder.scss
Expand Up @@ -98,7 +98,14 @@ future version of Sass' warning.
}

@if map-deep-get($utility, settings, active) {
@include render-pseudoclass($utility, active, $selector, $property, $value);
@include render-pseudoclass(
$utility,
active,
$selector,
$property,
$value,
$media-prefix
);
}

@if map-deep-get($utility, settings, visited) {
Expand All @@ -107,12 +114,20 @@ future version of Sass' warning.
visited,
$selector,
$property,
$value
$value,
$media-prefix
);
}

@if map-deep-get($utility, settings, focus) {
@include render-pseudoclass($utility, focus, $selector, $property, $value);
@include render-pseudoclass(
$utility,
focus,
$selector,
$property,
$value,
$media-prefix
);
}

// And add the responsive prefixes, if applicable
Expand Down

0 comments on commit 7a13a0e

Please sign in to comment.