aboutsummaryrefslogtreecommitdiff
path: root/scss/forms/_form-range.scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2021-06-14 09:35:30 -0700
committerGitHub <[email protected]>2021-06-14 09:35:30 -0700
commitbe17444756c48e3a892c36507f859cd841bd8c1f (patch)
tree0fae73c54f82eda6321bea3e759cc184690710e9 /scss/forms/_form-range.scss
parente9da490e510298086e93fe829949a67657443be5 (diff)
downloadbootstrap-be17444756c48e3a892c36507f859cd841bd8c1f.tar.xz
bootstrap-be17444756c48e3a892c36507f859cd841bd8c1f.zip
Replace `/` division with multiplication and custom `divide()` function (#34245)
* Convert bulk of division to multiplication * Use custom divide() function instead of Dart Sass math module for greater compatibility * Apply suggestions from code review * Fix functions
Diffstat (limited to 'scss/forms/_form-range.scss')
-rw-r--r--scss/forms/_form-range.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/forms/_form-range.scss b/scss/forms/_form-range.scss
index ae1d841d5..6de42132e 100644
--- a/scss/forms/_form-range.scss
+++ b/scss/forms/_form-range.scss
@@ -27,7 +27,7 @@
&::-webkit-slider-thumb {
width: $form-range-thumb-width;
height: $form-range-thumb-height;
- margin-top: ($form-range-track-height - $form-range-thumb-height) / 2; // Webkit specific
+ margin-top: ($form-range-track-height - $form-range-thumb-height) * .5; // Webkit specific
@include gradient-bg($form-range-thumb-bg);
border: $form-range-thumb-border;
@include border-radius($form-range-thumb-border-radius);