Permalink
Browse files

Merge pull request #1627 from gseguin/master

Fixed #1419: Fixed grouped radio buttons with long labels so they wrap to multiple lines. Thanks gseguin!
  • Loading branch information...
2 parents 3d0064b + 516c5aa commit 8d265f92811876e0f9af92dec3adcf4724b00bc6 @toddparker toddparker committed May 13, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 themes/default/jquery.mobile.forms.checkboxradio.css
@@ -5,8 +5,10 @@
*/
.ui-checkbox, .ui-radio { position:relative; margin: .2em 0 .5em; z-index: 1; }
.ui-checkbox .ui-btn, .ui-radio .ui-btn { margin: 0; text-align: left; z-index: 2; }
+.ui-checkbox .ui-btn-inner, .ui-radio .ui-btn-inner { white-space: normal; }
.ui-checkbox .ui-btn-icon-left .ui-btn-inner,.ui-radio .ui-btn-icon-left .ui-btn-inner { padding-left: 45px; }
.ui-checkbox .ui-btn-icon-right .ui-btn-inner, .ui-radio .ui-btn-icon-right .ui-btn-inner { padding-right: 45px; }
+.ui-checkbox .ui-icon, .ui-radio .ui-icon { top: 1.1em; }
.ui-checkbox .ui-btn-icon-left .ui-icon, .ui-radio .ui-btn-icon-left .ui-icon {left: 15px; }
.ui-checkbox .ui-btn-icon-right .ui-icon, .ui-radio .ui-btn-icon-right .ui-icon {right: 15px; }
/* input, label positioning */

0 comments on commit 8d265f9

Please sign in to comment.