Skip to content
Browse files

Button: override default margin if controlgroups or form elements hav…

…e class ui-btn-left/right. Fixes #4713 - Controlgroup: Horizontal controlgroup shouldn't have margins in header.
  • Loading branch information...
1 parent 8cc2c4c commit 475469057dd6929bc9480f59bfed0c2d13ebd33c @jaspermdegroot jaspermdegroot committed Aug 3, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 css/structure/jquery.mobile.button.css
View
1 css/structure/jquery.mobile.button.css
@@ -5,6 +5,7 @@
.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; }
.ui-btn input, .ui-btn button { z-index: 2; }
.ui-btn-left, .ui-btn-right, .ui-btn-inline { display: inline-block; vertical-align: middle; }
+.ui-mobile .ui-btn-left, .ui-mobile .ui-btn-right { margin: 0; } /* .ui-mobile to increase specificity level */
.ui-btn-block { display: block; }
.ui-header .ui-btn,

0 comments on commit 4754690

Please sign in to comment.
Something went wrong with that request. Please try again.