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
2021-05-24 15:56:40 +01:00
parent a3b8da0903
commit 09abf0ed7d
3 changed files with 13 additions and 0 deletions
+7
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],
+3
View File
@@ -16616,6 +16616,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],
+3
View File
@@ -16842,6 +16842,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],