From efcd9a0c75c947015ea17aed25d19f5bc2ef3b42 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Thu, 17 Feb 2011 02:08:30 +0100 Subject: [PATCH] fixed: vertical alignment, thx to revsystems, see https://github.com/fnagel/jquery-ui/issues#issue/20 --- themes/base/jquery.ui.selectmenu.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/base/jquery.ui.selectmenu.css b/themes/base/jquery.ui.selectmenu.css index 656d253c2..318941d6e 100644 --- a/themes/base/jquery.ui.selectmenu.css +++ b/themes/base/jquery.ui.selectmenu.css @@ -1,6 +1,6 @@ /* Selectmenu ----------------------------------*/ -.ui-selectmenu { display: block; display: inline-block; position: relative; height: 2.2em; text-decoration: none; overflow: hidden; zoom: 1; } +.ui-selectmenu { display: block; display: inline-block; position: relative; height: 2.2em; vertical-align: middle; text-decoration: none; overflow: hidden; zoom: 1; } .ui-selectmenu-icon { position:absolute; right:6px; margin-top:-8px; top: 50%; } .ui-selectmenu-menu { padding:0; margin:0; list-style:none; position:absolute; top: 0; visibility: hidden; overflow: auto; z-index: 1005;} /* z-index: 1005 to make selectmenu work with dialog */ .ui-selectmenu-open { visibility: visible; } -- 2.39.5