Skip to content

Commit

Permalink
Use all for media queries instead of screen only
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisdano committed Feb 15, 2019
1 parent 00c0404 commit d64c9f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stylesheets/core/mixins/_at-media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@else {
@warn '`#{$bp}` is not a valid USWDS project breakpoint. Valid values: #{map-keys($our-breakpoints)}';
}
@media screen and (min-width: #{$bp}) {
@media all and (min-width: #{$bp}) {
@content;
}
}
Expand All @@ -33,7 +33,7 @@
@else {
@warn '`#{$bp}` is not a valid USWDS project breakpoint. Valid values: #{map-keys($our-breakpoints)}';
}
@media screen and (max-width: #{$bp}) {
@media all and (max-width: #{$bp}) {
@content;
}
}

0 comments on commit d64c9f0

Please sign in to comment.