mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
Fix validation feedback icon in select multiple
Validation feedback for `<select multiple>` should look like `<textarea>`. The previous implementation was placing the validation icon in the middle of the select field together with the single select arrow, that is not supposed to be part of this kind of inputs
This commit is contained in:
parent
20cfbdff79
commit
bfafabfd53
@ -92,6 +92,14 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
&:focus {
|
||||
|
Loading…
x
Reference in New Issue
Block a user