aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-03-27 08:03:48 +0100
committerjzaefferer <joern.zaefferer@gmail.com>2010-03-27 08:03:48 +0100
commit551fa98ae4e1eafd3a152ca4897166537a069f16 (patch)
tree0cd543688abe2668c9b60aec4202d41bbbc0a7a0 /themes
parentd5a6b334669c8024573b8aa52014c83f3823f0c2 (diff)
downloadjquery-ui-551fa98ae4e1eafd3a152ca4897166537a069f16.tar.gz
jquery-ui-551fa98ae4e1eafd3a152ca4897166537a069f16.zip
Accordion: Moving IE layout fix (via zoom: 1) from js to css - fixes the destroy-method test in IEs (zoom style wasn't cleaned up on destroy) and should perform slightly faster, too
Diffstat (limited to 'themes')
-rw-r--r--themes/base/jquery.ui.accordion.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/base/jquery.ui.accordion.css b/themes/base/jquery.ui.accordion.css
index acd7f5e1e..8d8a1a6e1 100644
--- a/themes/base/jquery.ui.accordion.css
+++ b/themes/base/jquery.ui.accordion.css
@@ -4,6 +4,8 @@
.ui-accordion .ui-accordion-li-fix { display: inline; }
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
+/* IE7-/Win - Fix extra vertical space in lists */
+.ui-accordion a { zoom: 1; }
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }