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

Commit

Permalink
Button: width auto for div's with class ui-btn-text to prevent custom…
Browse files Browse the repository at this point in the history
… selects breaking on IE. Fixes #4577.
  • Loading branch information
jaspermdegroot committed Nov 29, 2012
1 parent e4c0be9 commit 6ba6c41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions css/structure/jquery.mobile.button.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
.ui-btn-icon-notext .ui-btn-inner .ui-icon { margin: 2px 1px 2px 3px; float: left; }

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

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

0 comments on commit 6ba6c41

Please sign in to comment.