]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix custom range height (#26898)
authorysds <fellows3@gmail.com>
Wed, 25 Jul 2018 00:56:03 +0000 (09:56 +0900)
committerMark Otto <otto@github.com>
Wed, 25 Jul 2018 00:56:03 +0000 (17:56 -0700)
Fixes #26897

scss/_custom-forms.scss

index 5e1fa1992785187a8bbc780669ec667cd9316e64..d9b62fc3747fd02d065669f0bdea0cebd5287adc 100644 (file)
 
 .custom-range {
   width: 100%;
-  padding-left: 0; // Firefox specific
+  height: calc(#{$custom-range-thumb-height} + #{$custom-range-thumb-focus-box-shadow-width * 2});
+  padding: 0; // Need to reset padding
   background-color: transparent;
   appearance: none;