From 735d57054423a21df31b088248d8c7effe3c1fbc Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 2 Nov 2005 06:58:38 +0000 Subject: [PATCH] Fixed height of lists git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1782 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/themes/default/style.css | 2 +- include/class_divlist.inc | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/html/themes/default/style.css b/html/themes/default/style.css index 8ffe63b5e..e6c74988b 100644 --- a/html/themes/default/style.css +++ b/html/themes/default/style.css @@ -30,7 +30,7 @@ tbody.scrollcontent { overflow:auto; overflow:-moz-scrollbars-vertical; overflow-x:hidden; - max-height:480px; + height:480px; } body diff --git a/include/class_divlist.inc b/include/class_divlist.inc index e7e741757..65fc872f2 100644 --- a/include/class_divlist.inc +++ b/include/class_divlist.inc @@ -257,7 +257,15 @@ class divlist { } } - return $s_return; + $fill= ""; + for ($i= 1; $i <= $this->cols; $i++){ + if ($i == $this->cols){ + $fill.= " "; + } else { + $fill.= " "; + } + } + return $s_return."\n$fill"; } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -- 2.30.2