mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
REFACTOR: improve poll info layout (#22353)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user