From 73abb29d2c8d546657a14729692a4d43731d2dda Mon Sep 17 00:00:00 2001 From: Klaus Hartl Date: Sat, 28 Mar 2009 18:59:55 +0000 Subject: [PATCH] Finally fixed the mutiple row tabs vs float issue (until scrolling is implemented) - fixes #4399. Also fixed: tabs not scrolling in IE when contained in element with overflow set to auto or scroll, tab label text wrap in IE 6. --- themes/base/ui.tabs.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/themes/base/ui.tabs.css b/themes/base/ui.tabs.css index 3ca6b9a0a..6ade1afbe 100644 --- a/themes/base/ui.tabs.css +++ b/themes/base/ui.tabs.css @@ -1,11 +1,11 @@ /* Tabs ----------------------------------*/ -.ui-tabs { padding: .2em; zoom: 1; } -.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; } -.ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; } -.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; } +.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ +.ui-tabs .ui-tabs-nav { list-style: none; margin: 0; padding: .2em .2em 0; } +.ui-tabs .ui-tabs-nav li { float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } +.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ -.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; } +.ui-tabs .ui-tabs-panel { display: block; border: 0; padding: 1em 1.4em; background: none; } .ui-tabs .ui-tabs-hide { display: none !important; } -- 2.39.5