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

Commit a902f05

Browse files
Prevent margin top/bottom on selects, checkboxes and radio buttons with class ui-btn-left/right.
1 parent 85fd672 commit a902f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css/structure/jquery.mobile.button.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.ui-btn-inner { font-size: 16px; padding: .6em 20px; min-width: .75em; display: block; position: relative; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; zoom: 1; }
66
.ui-btn input, .ui-btn button { z-index: 2; }
77
.ui-btn-left, .ui-btn-right, .ui-btn-inline { display: inline-block; vertical-align: middle; }
8-
.ui-mobile .ui-btn-left, .ui-mobile .ui-btn-right { margin: 0; } /* .ui-mobile to increase specificity level */
8+
.ui-mobile .ui-btn-left, .ui-mobile .ui-btn-right, .ui-btn-left > .ui-btn, .ui-btn-right > .ui-btn { margin: 0; } /* .ui-mobile to increase specificity level */
99
.ui-btn-block { display: block; }
1010

1111
.ui-header > .ui-btn,

0 commit comments

Comments
 (0)