Advertisement
Guest User

Fix for jQueryUI inconsistent button styling (#7996)

a guest
Nov 27th, 2012
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.85 KB | None | 0 0
  1. diff --git a/themes/base/jquery.ui.button.css b/themes/base/jquery.ui.button.css
  2. index e0f91a8..ee382f1 100644
  3. --- a/themes/base/jquery.ui.button.css
  4. +++ b/themes/base/jquery.ui.button.css
  5. @@ -17,6 +17,7 @@
  6.     text-align: center;
  7.     zoom: 1;
  8.     overflow: visible; /* removes extra width in IE */
  9. +   line-height: normal;
  10.  }
  11.  .ui-button,
  12.  .ui-button:link,
  13. @@ -43,7 +44,7 @@ button.ui-button-icons-only {
  14.  /* button text element */
  15.  .ui-button .ui-button-text {
  16.     display: block;
  17. -   line-height: 1.4;
  18. +   line-height: normal;
  19.  }
  20.  .ui-button-text-only .ui-button-text {
  21.     padding: .4em 1em;
  22. @@ -105,7 +106,8 @@ input.ui-button {
  23.  }
  24.  
  25.  /* workarounds */
  26. -/* reset extra padding in Firefox */
  27. +/* reset extra padding in Firefox, see h5bp.com/l */
  28. +input.ui-button::-moz-focus-inner,
  29.  button.ui-button::-moz-focus-inner {
  30.     border: 0;
  31.     padding: 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement