diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-11-29 15:01:04 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-11-29 15:01:04 -0500 |
commit | a3a5c65d4dd9eb6be0e8a71d82c3ca86b38ed009 (patch) | |
tree | 95d93d78b0ad60799c9695eca255376e6ee8c17f /themes/base/jquery.ui.button.css | |
parent | fea9caac15456f421f7603ff36e477189da2a353 (diff) | |
download | jquery-ui-a3a5c65d4dd9eb6be0e8a71d82c3ca86b38ed009.tar.gz jquery-ui-a3a5c65d4dd9eb6be0e8a71d82c3ca86b38ed009.zip |
Button: Apply overflow: hidden in all browsers except IE 6,7 to avoid expanding the size of the button from negative text indent. Fixes #7911 - Button: icon only button in dialog causes horizontal scrollbar in Opera.
Diffstat (limited to 'themes/base/jquery.ui.button.css')
-rw-r--r-- | themes/base/jquery.ui.button.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/base/jquery.ui.button.css b/themes/base/jquery.ui.button.css index 0d11065f4..2ae50afd1 100644 --- a/themes/base/jquery.ui.button.css +++ b/themes/base/jquery.ui.button.css @@ -7,7 +7,7 @@ * * http://docs.jquery.com/UI/Button#theming */ -.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 { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: hidden; *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: 3.4em; } |