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

Commit

Permalink
Button: Submit buttons should be full width when label is hidden. Fixes
Browse files Browse the repository at this point in the history
#4705 - Input submit lacks 100% width when placed in fieldcontain with .ui-hide-label on wider screens.
  • Loading branch information
jaspermdegroot committed Jul 16, 2012
1 parent e9a32ad commit f1e4f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css/structure/jquery.mobile.button.css
Expand Up @@ -85,5 +85,5 @@ label.ui-submit { font-size: 16px; line-height: 1.4; font-weight: normal; margin
@media all and (min-width: 450px){
.ui-field-contain label.ui-submit { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0; }
.ui-field-contain .ui-btn.ui-submit { width: 60%; display: inline-block; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; }
.ui-hide-label .ui-btn.ui-submit { width: auto; }
.ui-hide-label .ui-btn.ui-submit { width: auto; display: block; }
}

0 comments on commit f1e4f5a

Please sign in to comment.