1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Fix border width calculation for custom-select (#22068)

In addition to #22011 and #21994
This commit is contained in:
Rutger Laurman 2017-03-03 20:19:02 +01:00 committed by Mark Otto
parent e02597519a
commit 0a997795b4

View file

@ -135,7 +135,7 @@
.custom-select { .custom-select {
display: inline-block; display: inline-block;
max-width: 100%; max-width: 100%;
$select-border-width: ($border-width * 2); $select-border-width: ($custom-select-border-width * 2);
height: calc(#{$input-height} + #{$select-border-width}); 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; 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; line-height: $custom-select-line-height;