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 {
2727 updateLayout ( ) {
2828 let newLayout = 'tablet' ;
2929 if ( window . innerWidth <= 1000 ) newLayout = 'mobile' ;
30- if ( window . innerWidth >= 1400 ) newLayout = 'desktop' ;
30+ if ( window . innerWidth > 1400 ) newLayout = 'desktop' ;
3131 if ( newLayout === this . lastLayoutType ) return ;
3232
3333 if ( this . onDestroy ) {
Original file line number Diff line number Diff line change 33 @media screen and (max-width : $size ) { @content ; }
44}
55@mixin larger-than ($size ) {
6- @media screen and (min-width : $size ) { @content ; }
6+ @media screen and (min-width : ( $size + 1 ) ) { @content ; }
77}
88@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 ; }
1010}
1111
1212// Padding shorthand using logical operators to better support RTL.
You can’t perform that action at this time.
0 commit comments