aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-03-19 09:05:40 -0400
committerScott González <scott.gonzalez@gmail.com>2012-03-19 09:06:38 -0400
commit959e36bfc47ac8992e805aa34b736876e0e926cd (patch)
tree8ca718bdd973f43bc28f433a41160d6a5d784136
parent91df42ec40b22b74a18bcc5fd29081f948e8c9f9 (diff)
downloadjquery-ui-959e36bfc47ac8992e805aa34b736876e0e926cd.tar.gz
jquery-ui-959e36bfc47ac8992e805aa34b736876e0e926cd.zip
Revert "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."
This reverts commit a3a5c65d4dd9eb6be0e8a71d82c3ca86b38ed009. (cherry picked from commit 99fd8511ed4098a4cbf6c66999ef4df0bd8280be)
-rw-r--r--themes/base/jquery.ui.button.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/base/jquery.ui.button.css b/themes/base/jquery.ui.button.css
index 2ae50afd1..0d11065f4 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: hidden; *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: 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; }