Skip to content

Commit

Permalink
Mobile device style groups incorrect order
Browse files Browse the repository at this point in the history
  • Loading branch information
tejash-wagento authored and tiagosampaio committed Jul 28, 2018
1 parent f06f52c commit b957e32
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/web/css/source/lib/_responsive.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@

& when (@media-target = 'mobile'), (@media-target = 'all') {

@media only screen and (max-width: (@screen__xxs - 1)) {
.media-width('max', @screen__xxs);
@media only screen and (max-width: @screen__m) {
.media-width('max', (@screen__m + 1));
}

@media only screen and (max-width: (@screen__xs - 1)) {
.media-width('max', @screen__xs);
@media only screen and (max-width: (@screen__m - 1)) {
.media-width('max', @screen__m);
}

@media only screen and (max-width: (@screen__s - 1)) {
.media-width('max', @screen__s);
}

@media only screen and (max-width: (@screen__m - 1)) {
.media-width('max', @screen__m);
@media only screen and (max-width: (@screen__xs - 1)) {
.media-width('max', @screen__xs);
}

@media only screen and (max-width: @screen__m) {
.media-width('max', (@screen__m + 1));
@media only screen and (max-width: (@screen__xxs - 1)) {
.media-width('max', @screen__xxs);
}

@media all and (min-width: @screen__s) {
Expand Down

0 comments on commit b957e32

Please sign in to comment.