Skip to content

Commit e245154

Browse files
Selectmenu: Set margin 0 for the selectmenu header. Fixes jquery-archive#4699 - custom select widget have a top-margin when displaying in a dialog.
1 parent 145a9e2 commit e245154

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

css/structure/jquery.mobile.forms.select.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ label.ui-select { font-size: 16px; line-height: 1.4; font-weight: normal; margin
3838
.ui-screen-hidden, .ui-selectmenu-list .ui-li .ui-icon { display: none; }
3939
.ui-selectmenu-list .ui-li .ui-icon { display: block; }
4040
.ui-li.ui-selectmenu-placeholder { display: none; }
41+
.ui-selectmenu .ui-header { margin: 0; }
4142
.ui-selectmenu .ui-header .ui-title { margin: 0.6em 46px 0.8em; }
4243

4344
@media all and (min-width: 450px){

0 commit comments

Comments
 (0)