diff options
author | Richard Worth <rdworth@gmail.com> | 2010-03-11 21:30:51 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2010-03-11 21:30:51 +0000 |
commit | 17c6d719ddd078cdc0f57b402231c8b1f5be8c3b (patch) | |
tree | 3d3d455b7f3fcc2ffec9dfd72e6050db2c6c20b5 /themes | |
parent | ddd1026d209cc1c6fd4d13cac1a5448af3747eaf (diff) | |
download | jquery-ui-17c6d719ddd078cdc0f57b402231c8b1f5be8c3b.tar.gz jquery-ui-17c6d719ddd078cdc0f57b402231c8b1f5be8c3b.zip |
Button: fixed icon spacing issues caused by r3878 fix of #5294
Diffstat (limited to 'themes')
-rw-r--r-- | themes/base/jquery.ui.button.css | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/base/jquery.ui.button.css b/themes/base/jquery.ui.button.css index 92118a3a0..33e1b4b39 100644 --- a/themes/base/jquery.ui.button.css +++ b/themes/base/jquery.ui.button.css @@ -4,15 +4,15 @@ .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ -.ui-button-icons-only { width: 3em; } -button.ui-button-icons-only { width: 3.2em; } +.ui-button-icons-only { width: 3.4em; } +button.ui-button-icons-only { width: 3.7em; } /*button text element */ .ui-button .ui-button-text { display: block; line-height: 1.4; } .ui-button-text-only .ui-button-text { padding: .4em 1em; } .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } -.ui-button-text-icon .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 1.8em; } -.ui-button-text-icons .ui-button-text { padding-right: 1.8em; } +.ui-button-text-icon .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } +.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } /* no icon support for input elements, provide padding by default */ input.ui-button { padding: .4em 1em; } |