Permalink
Browse files

Fixes #1230 — Looks like there was an extranious “text-indent: -9999p…

…x” set on the buttons themselves, which was causing IE to hide the icons (as they’re inline). Since it doesn’t look like text can possibly exist outside of .ui-btn-text, it should be safe to remove it.
  • Loading branch information...
1 parent a1c5173 commit 99d5ea690a9903f3665e73b8ac64dbbfb105112a @Wilto Wilto committed Sep 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 themes/default/jquery.mobile.button.css
@@ -9,7 +9,7 @@
.ui-btn-inline { display: inline-block; }
.ui-btn-inner { padding: .6em 25px; display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; position: relative; zoom: 1; }
.ui-header .ui-btn-inner, .ui-footer .ui-btn-inner, .ui-bar .ui-btn-inner { padding: .4em 8px .5em; }
-.ui-btn-icon-notext { width: 24px; height: 24px; text-indent: -9999px; }
+.ui-btn-icon-notext { width: 24px; height: 24px; }
.ui-btn-icon-notext .ui-btn-inner { padding: 2px 1px 2px 3px; }
.ui-btn-icon-notext .ui-btn-text { position: absolute; left: -999px; }
.ui-btn-icon-left .ui-btn-inner { padding-left: 33px; }

0 comments on commit 99d5ea6

Please sign in to comment.