Skip to content

Commit b957e32

Browse files
tejash-wagentotiagosampaio
authored andcommitted
Mobile device style groups incorrect order
1 parent f06f52c commit b957e32

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Diff for: lib/web/css/source/lib/_responsive.less

+8-8
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,24 @@
2727

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)