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

Commit 06affac

Browse files
Checkboxradio: No need to set margin for the buttons because we already set it for .ui-btn and .ui-btn-mini. Repeating it makes it only more difficult to override when needed.
1 parent 07a1cfe commit 06affac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

css/structure/jquery.mobile.forms.checkboxradio.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.ui-checkbox, .ui-radio { position: relative; clear: both; margin: 0; z-index: 1; }
2-
.ui-checkbox .ui-btn, .ui-radio .ui-btn { margin-top: .5em; margin-bottom: .5em; text-align: left; z-index: 2; }
3-
.ui-checkbox .ui-btn.ui-mini, .ui-radio .ui-btn.ui-mini { margin: .25em 0; }
2+
.ui-checkbox .ui-btn, .ui-radio .ui-btn { text-align: left; z-index: 2; }
43
.ui-controlgroup .ui-checkbox .ui-btn, .ui-controlgroup .ui-radio .ui-btn { margin: 0; }
54
.ui-checkbox .ui-btn-inner, .ui-radio .ui-btn-inner { white-space: normal; }
65

0 commit comments

Comments
 (0)