Skip to content
This repository
Browse code

Fixes #3837 - Ensures that absolute positioned checkboxes and radios …

…within controlgroups are visible in IE7.
  • Loading branch information...
commit da7237abaac3d8c7add80028aa4ef7e26db6b356 1 parent 091b407
Mat Marquis authored March 19, 2012
5  css/structure/jquery.mobile.controlgroup.css
... ...
@@ -1,4 +1,5 @@
1  
-.ui-controlgroup, fieldset.ui-controlgroup { padding: 0; margin: 0em 0 .5em; }
  1
+.ui-controlgroup, fieldset.ui-controlgroup { padding: 0; margin: 0em 0 .5em; zoom: 1; }
  2
+
2 3
 .ui-bar .ui-controlgroup { margin: 0 .3em; }
3 4
 .ui-controlgroup-label { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .4em; }
4 5
 .ui-controlgroup-controls { display: block; width: 100%;}
@@ -10,7 +11,7 @@
10 11
 .ui-controlgroup-vertical .ui-controlgroup-last { border-bottom-width: 1px; }
11 12
 .ui-controlgroup-horizontal { padding: 0; }
12 13
 .ui-controlgroup-horizontal .ui-btn, .ui-controlgroup-horizontal .ui-select { display: inline-block; margin: 0 -5px 0 0; }
13  
-.ui-controlgroup-horizontal .ui-checkbox, .ui-controlgroup-horizontal .ui-radio { float: left; margin: 0 -1px 0 0; }
  14
+.ui-controlgroup-horizontal .ui-checkbox, .ui-controlgroup-horizontal .ui-radio { float: left; clear: none; margin: 0 -1px 0 0; }
14 15
 .ui-controlgroup-horizontal .ui-checkbox .ui-btn, .ui-controlgroup-horizontal .ui-radio .ui-btn,
15 16
 .ui-controlgroup-horizontal .ui-checkbox:last-child, .ui-controlgroup-horizontal .ui-radio:last-child { margin-right: 0; }
16 17
 .ui-controlgroup-horizontal .ui-controlgroup-last { margin-right: 0; }
3  css/structure/jquery.mobile.forms.checkboxradio.css
... ...
@@ -1,4 +1,4 @@
1  
-.ui-checkbox, .ui-radio { position:relative;  margin: .2em 0 .5em; z-index: 1;  }
  1
+.ui-checkbox, .ui-radio { position: relative; clear: both; margin: .2em 0 .5em; z-index: 1;  }
2 2
 .ui-checkbox .ui-btn, .ui-radio .ui-btn { margin: 0; text-align: left; z-index: 2; }
3 3
 .ui-checkbox .ui-btn-inner, .ui-radio .ui-btn-inner { white-space: normal; }
4 4
 .ui-checkbox .ui-btn-icon-left .ui-btn-inner,.ui-radio .ui-btn-icon-left .ui-btn-inner { padding-left: 45px; }
@@ -16,6 +16,5 @@
16 16
 .ui-checkbox .ui-btn-icon-right .ui-icon, .ui-radio .ui-btn-icon-right .ui-icon { right: 15px; }
17 17
 .ui-checkbox .ui-mini.ui-btn-icon-right .ui-icon, .ui-radio .ui-mini.ui-btn-icon-right .ui-icon { right: 12px; }
18 18
 
19  
-
20 19
 /* input, label positioning */
21 20
 .ui-checkbox input,.ui-radio input { position:absolute; left:20px; top:50%; width: 10px; height: 10px;  margin:-5px 0 0 0; outline: 0 !important; z-index: 1; }

0 notes on commit da7237a

Please sign in to comment.
Something went wrong with that request. Please try again.