Skip to content

Commit 212418e

Browse files
Merge pull request #30 from sanctuarycomputer/media-query
Make media query to not overlap
2 parents 6577921 + 41abb1c commit 212418e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $media-queries: ();
2626
@if $next-breakpoint-index <= length($breakpoint-sizes) {
2727
$next-breakpoint-size: nth($breakpoint-sizes, $next-breakpoint-index);
2828
$media-queries: map-merge($media-queries, (
29-
'#{$name}-down': 'max-width: #{$next-breakpoint-size}'
29+
'#{$name}-down': 'max-width: #{calc($next-breakpoint-size - 1px)}'
3030
));
3131
}
3232
}

0 commit comments

Comments
 (0)