Permalink
Browse files

Button: width auto for div's with class ui-btn-text to prevent custom…

… selects breaking on IE. Fixes #4577.
  • Loading branch information...
1 parent e4c0be9 commit 6ba6c4119bf8e7cea9f41d200188f2e5b7c2e11d @jaspermdegroot jaspermdegroot committed Nov 29, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 css/structure/jquery.mobile.button.css
@@ -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; }

0 comments on commit 6ba6c41

Please sign in to comment.