diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2016-03-30 11:38:34 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2016-03-30 11:53:28 -0400 |
commit | bff8277fbc885bf2dc0461ac706d2f2bb7035ad6 (patch) | |
tree | c037803096190ced1cd806a15580dc2de94847c7 /themes | |
parent | bf5d6f314b3798094efdca4b73e09233f2a69d7d (diff) | |
download | jquery-ui-bff8277fbc885bf2dc0461ac706d2f2bb7035ad6.tar.gz jquery-ui-bff8277fbc885bf2dc0461ac706d2f2bb7035ad6.zip |
Selectmenu: Prepend icon and move overflow to text span
Fixes #14938
Closes gh-1685
Diffstat (limited to 'themes')
-rw-r--r-- | themes/base/selectmenu.css | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/themes/base/selectmenu.css b/themes/base/selectmenu.css index 65a2adfbf..3299f9e4d 100644 --- a/themes/base/selectmenu.css +++ b/themes/base/selectmenu.css @@ -33,10 +33,14 @@ .ui-selectmenu-open { display: block; } -.ui-selectmenu-button.ui-button { - text-align: left; +.ui-selectmenu-text { + display: block; + margin-right: 20px; overflow: hidden; text-overflow: ellipsis; +} +.ui-selectmenu-button.ui-button { + text-align: left; white-space: nowrap; width: 14em; } |