Skip to content

Commit

Permalink
Switched from line-height to text-indent to accessibly hide buttons. F…
Browse files Browse the repository at this point in the history
…ixes 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!
  • Loading branch information
toddparker committed Jan 19, 2012
1 parent ba9d5a4 commit b0d261e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css/structure/jquery.mobile.button.css
Expand Up @@ -47,4 +47,4 @@
.ui-bar .ui-btn-icon-bottom .ui-icon { bottom: 4px; }

/*hiding native button,inputs */
.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; }
.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 comments on commit b0d261e

Please sign in to comment.