File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export class TriLayout extends Component {
27
27
updateLayout ( ) {
28
28
let newLayout = 'tablet' ;
29
29
if ( window . innerWidth <= 1000 ) newLayout = 'mobile' ;
30
- if ( window . innerWidth >= 1400 ) newLayout = 'desktop' ;
30
+ if ( window . innerWidth > 1400 ) newLayout = 'desktop' ;
31
31
if ( newLayout === this . lastLayoutType ) return ;
32
32
33
33
if ( this . onDestroy ) {
Original file line number Diff line number Diff line change 3
3
@media screen and (max-width : $size ) { @content ; }
4
4
}
5
5
@mixin larger-than ($size ) {
6
- @media screen and (min-width : $size ) { @content ; }
6
+ @media screen and (min-width : ( $size + 1 ) ) { @content ; }
7
7
}
8
8
@mixin between ($min , $max ) {
9
- @media screen and (min-width : $min ) and (max-width : $max ) { @content ; }
9
+ @media screen and (min-width : ( $min + 1 ) ) and (max-width : $max ) { @content ; }
10
10
}
11
11
12
12
// Padding shorthand using logical operators to better support RTL.
You can’t perform that action at this time.
0 commit comments