diff --git a/demos/selectmenu/default.html b/demos/selectmenu/default.html index 97bbe6e3d..1d700100b 100644 --- a/demos/selectmenu/default.html +++ b/demos/selectmenu/default.html @@ -28,7 +28,7 @@ fieldset { border: 0; } label { display: block; } select { width: 200px; } - .overflow { height: 200px; overflow: auto; overflow-y: auto; overflow-x: hidden;} + .overflow { height: 200px; } diff --git a/tests/visual/selectmenu/disabled.html b/tests/visual/selectmenu/disabled.html index 4129e95e4..b480fa877 100644 --- a/tests/visual/selectmenu/disabled.html +++ b/tests/visual/selectmenu/disabled.html @@ -50,7 +50,7 @@ fieldset { border: 0; } label { display: block; } select { width: 200px; } - .overflow { height: 200px; overflow: auto; } + .overflow { height: 200px; } diff --git a/tests/visual/selectmenu/events.html b/tests/visual/selectmenu/events.html index 206995805..43e280dbd 100644 --- a/tests/visual/selectmenu/events.html +++ b/tests/visual/selectmenu/events.html @@ -39,7 +39,7 @@ fieldset { border: 0; } label { display: block; } select { width: 200px; } - .overflow ul { height: 200px; overflow: auto; } + .overflow ul { height: 200px; } diff --git a/themes/base/jquery.ui.selectmenu.css b/themes/base/jquery.ui.selectmenu.css index 31dc184e1..a8a65efe7 100644 --- a/themes/base/jquery.ui.selectmenu.css +++ b/themes/base/jquery.ui.selectmenu.css @@ -9,6 +9,7 @@ */ .ui-selectmenu-menu { padding: 0; margin: 0; position:absolute; top: 0; display: none; } +.ui-selectmenu-menu ul.ui-menu { overflow: auto; overflow-y: auto ; overflow-x: hidden; } .ui-selectmenu-menu .ui-menu .ui-menu-item a { padding: 0.3em 1em 0.3em 1em; } .ui-selectmenu-menu .ui-menu li.ui-state-disabled { padding: 0.3em 1em 0.3em 1em; } .ui-selectmenu-menu .ui-menu li.ui-selectmenu-optgroup { font-weight: bold; line-height: 1.5; padding: 2px 0.4em; margin: 0.5em 0 0 0; }