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

Commit f1e4f5a

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.
1 parent e9a32ad commit f1e4f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css/structure/jquery.mobile.button.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,5 @@ label.ui-submit { font-size: 16px; line-height: 1.4; font-weight: normal; margin
8585
@media all and (min-width: 450px){
8686
.ui-field-contain label.ui-submit { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0; }
8787
.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; }
88-
.ui-hide-label .ui-btn.ui-submit { width: auto; }
88+
.ui-hide-label .ui-btn.ui-submit { width: auto; display: block; }
8989
}

0 commit comments

Comments
 (0)