Permalink
Browse files

Button: Submit buttons should be full width when label is hidden. Fixes

#4705 - Input submit lacks 100% width when placed in fieldcontain with .ui-hide-label on wider screens.
  • Loading branch information...
1 parent e9a32ad commit f1e4f5ab136ef7f6a6e7423ea416c8fc7ce4d081 @jaspermdegroot jaspermdegroot committed Jul 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 css/structure/jquery.mobile.button.css
@@ -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.