/// @param {Keyword} $size - Breakpoint to use. **Must be a breakpoint defined in `$breakpoints`.**
@mixin show-for($size) {
$size: map-get($breakpoints, $size);
- $size: -zf-bp-to-em($size) - (1 / 16);
+ $size: -zf-bp-to-em($size) - .000001;
@include breakpoint($size down) {
display: none !important;
$upper-bound-size: -zf-map-next($breakpoints, $size);
// more often than not this will be correct, just one time round the loop it won't so set in scope here
- $lower-bound: -zf-bp-to-em($lower-bound-size) - (1 / 16);
+ $lower-bound: -zf-bp-to-em($lower-bound-size) - .000001;
// test actual lower-bound-size, if 0 set it to 0em
@if strip-unit($lower-bound-size) == 0 {
$lower-bound: -zf-bp-to-em($lower-bound-size);
// Convert any pixel, rem, or unitless value to em
$bp: -zf-bp-to-em($bp);
@if $bp-max {
- $bp-max: -zf-bp-to-em($bp-max) - .0001;
+ $bp-max: -zf-bp-to-em($bp-max) - .000001;
}
// Conditions to skip media query creation