mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Hide validation icons from multiple selects
Implementation provided in #33411 does not take into account that some Operating Systems may display a vertical scrollbar in the multiple select field This implementation will hide the validation icons from multiple select fields, just like Bootstrap 4 does. Fix: #33591
This commit is contained in:
parent
db32b2380c
commit
6fe75df3aa
@ -88,17 +88,12 @@
|
||||
border-color: $color;
|
||||
|
||||
@if $enable-validation-icons {
|
||||
&:not([multiple]):not([size]),
|
||||
&:not([multiple])[size="1"] {
|
||||
padding-right: $form-select-feedback-icon-padding-end;
|
||||
background-image: escape-svg($form-select-indicator), escape-svg($icon);
|
||||
background-position: $form-select-bg-position, $form-select-feedback-icon-position;
|
||||
background-size: $form-select-bg-size, $form-select-feedback-icon-size;
|
||||
|
||||
&[multiple],
|
||||
&[size]:not([size="1"]) {
|
||||
padding-right: $input-height-inner;
|
||||
background-image: escape-svg($icon);
|
||||
background-position: top $input-height-inner-quarter right $input-height-inner-quarter;
|
||||
background-size: $form-select-feedback-icon-size;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user