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

Commit e282bfc

Browse files
Button: width auto for div's with class ui-btn-text to prevent custom selects breaking on IE. Fixes #4577.
1 parent a1abaf8 commit e282bfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

css/structure/jquery.mobile.button.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
.ui-btn-icon-notext .ui-btn-inner .ui-icon { margin: 2px 1px 2px 3px; float: left; }
2626

2727
.ui-btn-text { position: relative; z-index: 1; width: 100%; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; }
28+
div.ui-btn-text { width: auto; }
2829
.ui-btn-icon-notext .ui-btn-text { position: absolute; left: -9999px; }
2930

3031
.ui-btn-icon-left .ui-btn-inner { padding-left: 40px; }

0 commit comments

Comments
 (0)