Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 8d265f92811876e0f9af92dec3adcf4724b00bc6 2 parents 3d0064b + 516c5aa
@toddparker toddparker authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  themes/default/jquery.mobile.forms.checkboxradio.css
View
2  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 */
Please sign in to comment.
Something went wrong with that request. Please try again.