MDL-69703 theme_boost: remove right padding for multi-selects.

This removes the whitespace obscuring longer option elements when
selected, particularly on narrow screens.
This commit is contained in:
Paul Holden 2020-11-23 23:19:42 +00:00
parent efb3d4e7a7
commit 241641ab59
3 changed files with 13 additions and 0 deletions

View File

@ -338,6 +338,13 @@ fieldset.coursesearchbox label {
font-size: large;
}
select.form-control {
&[size],
&[multiple] {
padding-right: 0;
}
}
/* Non-bootstrap selects with a size show their contents outside of the element.
* Remove when we update to stable bootstrap 4. (MDL-56511) */
select[size],

View File

@ -16653,6 +16653,9 @@ fieldset.coursesearchbox label {
padding: 0.5em;
font-size: large; }
select.form-control[size], select.form-control[multiple] {
padding-right: 0; }
/* Non-bootstrap selects with a size show their contents outside of the element.
* Remove when we update to stable bootstrap 4. (MDL-56511) */
select[size],

View File

@ -16887,6 +16887,9 @@ fieldset.coursesearchbox label {
padding: 0.5em;
font-size: large; }
select.form-control[size], select.form-control[multiple] {
padding-right: 0; }
/* Non-bootstrap selects with a size show their contents outside of the element.
* Remove when we update to stable bootstrap 4. (MDL-56511) */
select[size],