Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit ab52568

Browse files
Controlgroup: Fixed issue with selects in horizontal controlgroup being displayed as block on IE7.
1 parent 4d60cd2 commit ab52568

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

css/structure/jquery.mobile.controlgroup.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
.ui-controlgroup-horizontal .ui-controlgroup-controls > .ui-btn, .ui-controlgroup-horizontal .ui-controlgroup-controls li > .ui-btn,
2828
.ui-controlgroup-horizontal .ui-checkbox, .ui-controlgroup-horizontal .ui-radio,
2929
.ui-controlgroup-horizontal .ui-select { float: left; clear: none; margin: 0; }
30+
/* On IE7 the floating selects will be displayed as block if .ui-btn-text has width 100% */
31+
.ui-controlgroup-horizontal .ui-select .ui-btn-text { width: auto; }
3032

3133
.ui-controlgroup-vertical .ui-btn { border-bottom-width: 0; }
3234
.ui-controlgroup-vertical .ui-btn.ui-last-child { border-bottom-width: 1px; }

0 commit comments

Comments
 (0)