diff options
Diffstat (limited to 'themes/base/jquery.ui.button.css')
-rw-r--r-- | themes/base/jquery.ui.button.css | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/themes/base/jquery.ui.button.css b/themes/base/jquery.ui.button.css index 5588eb42c..bf6d10547 100644 --- a/themes/base/jquery.ui.button.css +++ b/themes/base/jquery.ui.button.css @@ -12,10 +12,11 @@ display: inline-block; position: relative; padding: 0; + line-height: normal; margin-right: .1em; cursor: pointer; + vertical-align: middle; text-align: center; - zoom: 1; overflow: visible; /* removes extra width in IE */ } .ui-button, @@ -42,8 +43,8 @@ button.ui-button-icons-only { /* button text element */ .ui-button .ui-button-text { - display: inline-block; - line-height: 1.4; + display: block; + line-height: normal; } .ui-button-text-only .ui-button-text { padding: .4em 1em; @@ -105,7 +106,8 @@ input.ui-button { } /* workarounds */ -/* reset extra padding in Firefox */ +/* reset extra padding in Firefox, see h5bp.com/l */ +input.ui-button::-moz-focus-inner, button.ui-button::-moz-focus-inner { border: 0; padding: 0; |