diff options
author | Scott González <scott.gonzalez@gmail.com> | 2015-03-04 14:27:10 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2015-03-05 11:42:49 -0500 |
commit | af4c35df9d1cf4c15d57b3789711026360785831 (patch) | |
tree | 150083ab0fedf1494c5cbc409995d3513eb01578 /demos/selectmenu | |
parent | 47a32fb5b3c190123937e0178900ef754c3e220d (diff) | |
download | jquery-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 'demos/selectmenu')
-rw-r--r-- | demos/selectmenu/custom_render.html | 3 | ||||
-rw-r--r-- | demos/selectmenu/default.html | 3 | ||||
-rw-r--r-- | demos/selectmenu/product-selection.html | 3 |
3 files changed, 0 insertions, 9 deletions
diff --git a/demos/selectmenu/custom_render.html b/demos/selectmenu/custom_render.html index 9329b81b1..ec0b4b6d5 100644 --- a/demos/selectmenu/custom_render.html +++ b/demos/selectmenu/custom_render.html @@ -59,9 +59,6 @@ label { display: block; } - select { - width: 200px; - } /* select with custom icons */ .ui-selectmenu-menu .ui-menu.customicons .ui-menu-item-wrapper { diff --git a/demos/selectmenu/default.html b/demos/selectmenu/default.html index d9b198683..a845b1dba 100644 --- a/demos/selectmenu/default.html +++ b/demos/selectmenu/default.html @@ -32,9 +32,6 @@ display: block; margin: 30px 0 0 0; } - select { - width: 200px; - } .overflow { height: 200px; } diff --git a/demos/selectmenu/product-selection.html b/demos/selectmenu/product-selection.html index 40b3a921d..e759ea36a 100644 --- a/demos/selectmenu/product-selection.html +++ b/demos/selectmenu/product-selection.html @@ -41,9 +41,6 @@ display: block; margin: 20px 0 0 0; } - select { - width: 200px; - } #circle { float: left; |