From 73d44f9784eaa97f7dd233517abce32a8a1731f5 Mon Sep 17 00:00:00 2001 From: chrisaga Date: Sun, 9 Jul 2006 08:35:14 +0000 Subject: fix DIV.comment behaviour (not perfect yet, but better) git-svn-id: http://piwigo.org/svn/trunk@1450 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/content.css | 4 +--- template/yoga/default-layout.css | 8 +++++++- template/yoga/picture.css | 5 +---- 3 files changed, 9 insertions(+), 8 deletions(-) (limited to 'template') diff --git a/template/yoga/content.css b/template/yoga/content.css index eee5baaa0..9eccdeed1 100644 --- a/template/yoga/content.css +++ b/template/yoga/content.css @@ -113,10 +113,8 @@ UL.categoryActions { } #content DIV.comment BLOCKQUOTE { - margin-top: 1em; margin-right: 0.5em; - margin-bottom: 150px; - padding: 0.5em; + overflow: visible; /*avoid a very strange margin behaviour (all browsers) */ } /* begin chronology/calendar elements*/ diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css index d087bc8fa..5a7e293ed 100644 --- a/template/yoga/default-layout.css +++ b/template/yoga/default-layout.css @@ -82,10 +82,16 @@ TEXTAREA.description { SELECT.categoryList { height: 20em; - /*max-width: 60em;*/ width: auto; } +DIV.comment BLOCKQUOTE { + padding: 0.5em; + overflow: auto; /* no solution for IE6 */ + min-height: 2.75em; /* fix a Gecko bug whith scrollbar and 1 line only */ +} + + /** * Filter forms are displayed label by label with the input (or select...) * below the label. Use an UL to make a group (radiobox for instance). diff --git a/template/yoga/picture.css b/template/yoga/picture.css index e51db1825..d905adb96 100644 --- a/template/yoga/picture.css +++ b/template/yoga/picture.css @@ -131,11 +131,8 @@ TABLE.infoTable TD.value UL { font-weight: bold; } -#comments BLOCKQUOTE { +#thePicturePage #comments BLOCKQUOTE { margin: 0.5em 1em 1em 4em; - padding: 0.5em; - overflow: auto; /* no solution for IE6 */ - min-height: 2.75em; /* fix a Gecko bug whith scrollbar and 1 line only */ } #comments P.userCommentDelete { -- cgit v1.2.3