Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Button: fixed inconsistent button styling in most browsers. Fixes #79…

…96 - Button: Inconsistent styling based on markup
  • Loading branch information...
commit ad0539ba43221a015ce07e2738067dd944f0d894 1 parent a5d50da
@selfthinker authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 themes/base/jquery.ui.button.css
View
6 themes/base/jquery.ui.button.css
@@ -12,6 +12,7 @@
display: inline-block;
position: relative;
padding: 0;
+ line-height: normal;
margin-right: .1em;
cursor: pointer;
text-align: center;
@@ -43,7 +44,7 @@ button.ui-button-icons-only {
/* button text element */
.ui-button .ui-button-text {
display: inline-block;
- line-height: 1.4;
+ 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;
Please sign in to comment.
Something went wrong with that request. Please try again.