Permalink
Browse files

Checkboxradio: No need to set margin for the buttons because we alrea…

…dy set it for .ui-btn and .ui-btn-mini. Repeating it makes it only more difficult to override when needed.
  • Loading branch information...
1 parent 07a1cfe commit 06affac6d018ff67788a9759a248041546b0294a @jaspermdegroot jaspermdegroot committed Jan 3, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 css/structure/jquery.mobile.forms.checkboxradio.css
@@ -1,6 +1,5 @@
.ui-checkbox, .ui-radio { position: relative; clear: both; margin: 0; z-index: 1; }
-.ui-checkbox .ui-btn, .ui-radio .ui-btn { margin-top: .5em; margin-bottom: .5em; text-align: left; z-index: 2; }
-.ui-checkbox .ui-btn.ui-mini, .ui-radio .ui-btn.ui-mini { margin: .25em 0; }
+.ui-checkbox .ui-btn, .ui-radio .ui-btn { text-align: left; z-index: 2; }
.ui-controlgroup .ui-checkbox .ui-btn, .ui-controlgroup .ui-radio .ui-btn { margin: 0; }
.ui-checkbox .ui-btn-inner, .ui-radio .ui-btn-inner { white-space: normal; }

0 comments on commit 06affac

Please sign in to comment.