]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix border width calculation for custom-select (#22068)
authorRutger Laurman <lekkerduidelijk@gmail.com>
Fri, 3 Mar 2017 19:19:02 +0000 (20:19 +0100)
committerMark Otto <markd.otto@gmail.com>
Fri, 3 Mar 2017 19:19:02 +0000 (11:19 -0800)
In addition to #22011 and #21994

scss/_custom-forms.scss

index a73359c86c5b445fffb8fd74b8b02359584728bb..39f164822cc07ee4ba7aaa34497ab56de982d16f 100644 (file)
 .custom-select {
   display: inline-block;
   max-width: 100%;
-  $select-border-width: ($border-width * 2);
+  $select-border-width: ($custom-select-border-width * 2);
   height: calc(#{$input-height} + #{$select-border-width});
   padding: $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding) $custom-select-padding-y $custom-select-padding-x;
   line-height: $custom-select-line-height;