aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2015-03-04 14:27:10 -0500
committerScott González <scott.gonzalez@gmail.com>2015-03-05 11:42:49 -0500
commitaf4c35df9d1cf4c15d57b3789711026360785831 (patch)
tree150083ab0fedf1494c5cbc409995d3513eb01578 /themes
parent47a32fb5b3c190123937e0178900ef754c3e220d (diff)
downloadjquery-ui-af4c35df9d1cf4c15d57b3789711026360785831.tar.gz
jquery-ui-af4c35df9d1cf4c15d57b3789711026360785831.zip
Selectmenu: Support `width: false` and default to 14em
`width: null` still matches the width of the original element. `width: false` prevents an inline style from being set for the width. This makes it easy to set the width via a stylesheet and allows the use of any unit for setting the width, such as the new default of `14em`. Fixes #11198 Closes gh-1467
Diffstat (limited to 'themes')
-rw-r--r--themes/base/selectmenu.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/base/selectmenu.css b/themes/base/selectmenu.css
index be4819a1a..178d7037f 100644
--- a/themes/base/selectmenu.css
+++ b/themes/base/selectmenu.css
@@ -39,6 +39,7 @@
position: relative;
text-decoration: none;
cursor: pointer;
+ width: 14em;
}
.ui-selectmenu-button span.ui-icon {
right: 0.5em;