Matches browser default inputs and swaps some max-width properties for a regular width
.custom-select {
display: inline-block;
- max-width: 100%;
+ width: 100%;
height: $input-height;
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;
.custom-file {
position: relative;
display: inline-block;
- max-width: 100%;
+ width: 100%;
height: $custom-file-height;
margin-bottom: 0;
}
.custom-file-input {
- min-width: $custom-file-width;
max-width: 100%;
height: $custom-file-height;
margin: 0;
$custom-select-height-lg: $input-height-lg !default;
$custom-file-height: $input-height !default;
-$custom-file-width: 14rem !default;
$custom-file-focus-border-color: $input-focus-border-color !default;
$custom-file-focus-box-shadow: $input-btn-focus-box-shadow !default;