REFACTOR: improve poll info layout (#22353)

This commit is contained in:
Kris
2023-07-05 12:20:18 -04:00
committed by GitHub
parent d75d64bf16
commit 4cec091f1a
12 changed files with 529 additions and 320 deletions

View File

@@ -19,7 +19,13 @@ $breakpoints: (
);
@mixin breakpoint($bp, $rule: max-width, $type: screen, $sidebar: false) {
@media #{$type} and (#{$rule}: map-get($breakpoints, $bp)) {
$bp-value: map-get($breakpoints, $bp);
@if $rule == min-width {
$bp-value: calc(#{$bp-value} + 1px);
}
@media #{$type} and (#{$rule}: #{$bp-value}) {
@content;
}