Skip to content

Commit

Permalink
fix(slider): fix height calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmoravek committed Jul 30, 2024
1 parent 5fbfa5e commit 1aaccaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/scss/components/_slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $slider-mark-size: 0.75rem !default;
$slider-colors: bulma.$colors !default;

@mixin slider-size($size) {
$track-height: divide($size, $slider-thumb-to-track-ratio);
$track-height: calc($size / $slider-thumb-to-track-ratio);
$tick-height: calc(
$size / $slider-thumb-to-track-ratio * $slider-tick-to-track-ratio
);
Expand Down

0 comments on commit 1aaccaf

Please sign in to comment.