CSS: Prevent selects with long option values from exceeding the container

This commit is contained in:
Florian Strohmaier 2019-07-02 10:27:23 +02:00 committed by Johannes Meyer
parent d452dfefaf
commit 7d8cdefc7d
1 changed files with 9 additions and 0 deletions

View File

@ -182,6 +182,15 @@ form select:not([multiple]) {
background-size: contain;
}
form select {
/* Prevent selects with long option values from exceeding the container */
width: 0
}
form.inline select {
width: auto
}
/**********************************************************************************************************************
specific input styles
***********************************************************************************************************************/