MDL-59696 theme_bootstrapbase: Set max-width for custom-select elements

* Set custom-select elements with a maximum width of 100% of their
container.
This commit is contained in:
Jun Pataleta 2017-08-21 15:39:14 +08:00
parent 1e9a102b58
commit 357dc2cbeb
2 changed files with 15 additions and 0 deletions

View File

@ -122,6 +122,15 @@ form {
margin-right: .3em;
}
.custom-select {
max-width: 100%;
}
// Make the submit button align with the .custom-select element.
.custom-select + input[type="submit"] {
margin: 0 0 0 5px;
}
#portfolio-add-button {
display: inline;
}

View File

@ -16559,6 +16559,12 @@ form {
.singleselect label {
margin-right: .3em;
}
.custom-select {
max-width: 100%;
}
.custom-select + input[type="submit"] {
margin: 0 0 0 5px;
}
#portfolio-add-button {
display: inline;
}