Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Switched from line-height to text-indent to accessibly hide buttons. …

…Fixes #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...
commit b0d261ebe0ebe6303c352b8e3b44183dcb665326 1 parent ba9d5a4
@toddparker toddparker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  css/structure/jquery.mobile.button.css
View
2  css/structure/jquery.mobile.button.css
@@ -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; }
Please sign in to comment.
Something went wrong with that request. Please try again.