Permalink
Browse files

Merge pull request #4431 from MauriceG/patch-110

Text on buttons should not be selectable Rev 2
  • Loading branch information...
2 parents a3f8679 + 11ee0c1 commit 8c7b8d488c4260311f769dfed2e139b7eb5774dd @jaspermdegroot jaspermdegroot committed Jun 1, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −1 css/structure/jquery.mobile.button.css
  2. +0 −1 css/structure/jquery.mobile.forms.checkboxradio.css
@@ -23,7 +23,7 @@
.ui-btn-icon-notext .ui-btn-inner { padding: 0; height: 100%; }
.ui-btn-icon-notext .ui-btn-inner .ui-icon { margin: 2px 1px 2px 3px; }
-.ui-btn-text { position: relative; z-index: 1; width: 100%; }
+.ui-btn-text { position: relative; z-index: 1; width: 100%; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; }
.ui-btn-icon-notext .ui-btn-text { position: absolute; left: -9999px; }
.ui-btn-icon-left .ui-btn-inner { padding-left: 40px; }
@@ -22,4 +22,3 @@
/* input, label positioning */
.ui-checkbox input,.ui-radio input { position:absolute; left:20px; top:50%; width: 10px; height: 10px; margin:-5px 0 0 0; outline: 0 !important; z-index: 1; }
-.ui-checkbox label,.ui-radio label { -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; }

0 comments on commit 8c7b8d4

Please sign in to comment.