Ticket #52354: 52354.diff
| File 52354.diff, 1.4 KB (added by , 22 months ago) |
|---|
-
src/wp-content/themes/twentytwentyone/assets/sass/03-generic/breakpoints.scss
18 18 @mixin media( $res ) { 19 19 20 20 @if mobile-only == $res { 21 @media only screen and (max-width: #{$breakpoint_sm - 1}) {21 @media only screen and (max-width: #{$breakpoint_sm - 0.02}) { 22 22 @content; 23 23 } 24 24 } … … 30 30 } 31 31 32 32 @if tablet-only == $res { 33 @media only screen and (max-width: #{$breakpoint_md - 1}) {33 @media only screen and (max-width: #{$breakpoint_md - 0.02}) { 34 34 @content; 35 35 } 36 36 } … … 42 42 } 43 43 44 44 @if laptop-only == $res { 45 @media only screen and (max-width: #{$breakpoint_lg - 1}) {45 @media only screen and (max-width: #{$breakpoint_lg - 0.02}) { 46 46 @content; 47 47 } 48 48 } … … 54 54 } 55 55 56 56 @if desktop-only == $res { 57 @media only screen and (max-width: #{$breakpoint_xl - 1}) {57 @media only screen and (max-width: #{$breakpoint_xl - 0.02}) { 58 58 @content; 59 59 } 60 60 } … … 66 66 } 67 67 68 68 @if wide-only == $res { 69 @media only screen and (max-width: #{$breakpoint_xxl - 1}) {69 @media only screen and (max-width: #{$breakpoint_xxl - 0.02}) { 70 70 @content; 71 71 } 72 72 }