Closed getdave closed 10 years ago
At the moment there are x2 variants of MQ mixins. This is a maintainability nightmare.
Also the media-queries mixins such as min-screen and screen need to contain the $fix-mqs conditional.
min-screen
screen
$fix-mqs
@mixin screen($resMin, $resMax) { @if ($is-oldie == true or $isFixed == true) { // Check if we're IE. If so then just return the content sans-media query @if $fix-mqs >= $resMin { @content; } } @else { @media screen and (min-width: $resMin) and (max-width: $resMax) { @content; } } } @mixin max-screen($res) { @media screen and (max-width: $res) { @content; } } @mixin min-screen($res) { @if ($is-oldie == true or $isFixed == true) { // Check if we're IE. If so then just return the content sans-media query @if $fix-mqs >= $res { @content; } } @else { @media screen and (min-width: $res) { @content; } } }
At the moment there are x2 variants of MQ mixins. This is a maintainability nightmare.
Also the media-queries mixins such as
min-screen
andscreen
need to contain the$fix-mqs
conditional.