From af4c35df9d1cf4c15d57b3789711026360785831 Mon Sep 17 00:00:00 2001 From: Scott González Date: Wed, 4 Mar 2015 14:27:10 -0500 Subject: 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 --- demos/selectmenu/custom_render.html | 3 --- demos/selectmenu/default.html | 3 --- demos/selectmenu/product-selection.html | 3 --- 3 files changed, 9 deletions(-) (limited to 'demos/selectmenu') 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; -- cgit v1.2.3