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

Commit 4754690

Browse files
Button: override default margin if controlgroups or form elements have class ui-btn-left/right. Fixes #4713 - Controlgroup: Horizontal controlgroup shouldn't have margins in header.
1 parent 8cc2c4c commit 4754690

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

css/structure/jquery.mobile.button.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +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 */
89
.ui-btn-block { display: block; }
910

1011
.ui-header .ui-btn,

0 commit comments

Comments
 (0)