Commit 0a997795 authored by Rutger Laurman's avatar Rutger Laurman Committed by Mark Otto
Browse files

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

In addition to #22011 and #21994
parent e0259751
10 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!22391V4 dev,!22143Fix selectable disabled toggle radio buttons,!22598test,!21589JS module transition: allow to customize transition duration in sass and custom css,!25326Adjust examples,!23995Add back cursor: pointer for .btn-link,!23178Spinner,!17021v4
Showing with 1 addition and 1 deletion
+1 -1
...@@ -135,7 +135,7 @@ ...@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment