diff --git a/ChangeLog b/ChangeLog index aac5f4042..da6c58089 100755 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,7 @@ $Source$ 2003-05-12 Michal Cihar * index.php3: Better fix for #736003. + * libraries/common.lib.php3: Light tabs were displayed wrong, bug #736590. 2003-05-11 Michal Cihar * Documentation.html, config.inc.php3, diff --git a/libraries/common.lib.php3 b/libraries/common.lib.php3 index ed493f276..568687b63 100644 --- a/libraries/common.lib.php3 +++ b/libraries/common.lib.php3 @@ -1689,7 +1689,11 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold} if (!empty($attr)) { $attr = ' width="100%" ' . $attr; } else { - $attr = ' style="display:block" '; + if ($cfg['LightTabs']) { + $attr = ' '; + } else { + $attr = ' style="display:block" '; + } } if ($cfg['LightTabs']) {