Skip to content

Commit

Permalink
calculate breakpoint suffix before media query
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfahan committed Mar 16, 2021
1 parent 7e6a262 commit 82b8241
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/_timeline.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@

// responsive dual mode
@each $breakpoint in map-keys($breakpoints) {
$breakpoint-suffix: prefix(name-breakpoint($breakpoint), "\\"+ $breakpoints-above-prefix);

@include media-breakpoint-above($breakpoint) {
$breakpoint-suffix: prefix(name-breakpoint($breakpoint), "\\"+ $breakpoints-above-prefix);

.timeline.is-dual#{$breakpoint-suffix} {
@include timeline-dual;
Expand Down

0 comments on commit 82b8241

Please sign in to comment.