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

Commit

Permalink
Button: override default margin if controlgroups or form elements hav…
Browse files Browse the repository at this point in the history
…e class ui-btn-left/right. Fixes #4713 - Controlgroup: Horizontal controlgroup shouldn't have margins in header.
  • Loading branch information
jaspermdegroot committed Aug 3, 2012
1 parent 8cc2c4c commit 4754690
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions css/structure/jquery.mobile.button.css
Expand Up @@ -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,
Expand Down

0 comments on commit 4754690

Please sign in to comment.