Skip to content

Commit b0d261e

Browse files
committed
Switched from line-height to text-indent to accessibly hide buttons. Fixes jquery-archive#1927
Was causing an vertical scroll bar to appear in FF9 if a button at the end of the content div is disabled / enabled. Changed '''line-height: 999px''' to '''text-indent: -9999px'''. Thanks n0v1!
1 parent ba9d5a4 commit b0d261e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css/structure/jquery.mobile.button.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@
4747
.ui-bar .ui-btn-icon-bottom .ui-icon { bottom: 4px; }
4848

4949
/*hiding native button,inputs */
50-
.ui-btn-hidden { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -webkit-appearance: button; opacity: .1; cursor: pointer; background: #fff; background: rgba(255,255,255,0); filter: Alpha(Opacity=.0001); font-size: 1px; border: none; line-height: 999px; }
50+
.ui-btn-hidden { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -webkit-appearance: button; opacity: .1; cursor: pointer; background: #fff; background: rgba(255,255,255,0); filter: Alpha(Opacity=.0001); font-size: 1px; border: none; text-indent: -9999px; }

0 commit comments

Comments
 (0)