Permalink
Browse files

Selectmenu: fix for IEs item hover problem, overflow CSS properties n…

…ow included
  • Loading branch information...
1 parent f2228b0 commit 156d0fbf096377b8674b6fa2b18f026c18ea28fd @fnagel fnagel committed Feb 26, 2012
View
2 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; }
</style>
</head>
<body>
View
2 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; }
</style>
</head>
<body>
View
2 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; }
</style>
</head>
<body>
View
1 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; }

0 comments on commit 156d0fb

Please sign in to comment.