From 1d68294b454e11f05b78d4a0ab791eb8f0b8cebc Mon Sep 17 00:00:00 2001 From: chrisaga Date: Mon, 5 Jun 2006 14:36:15 +0000 Subject: improve : set legend height in template-common/default-layout.css, not in the template. git-svn-id: http://piwigo.org/svn/trunk@1341 68402e56-0260-453c-a942-63ccdbb3a9ee --- template-common/default-layout.css | 7 ++++--- template/yoga/content.css | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/template-common/default-layout.css b/template-common/default-layout.css index d3c7e011e..b6873f386 100644 --- a/template-common/default-layout.css +++ b/template-common/default-layout.css @@ -41,10 +41,11 @@ BODY#theAdminPage #content { /* Category thumbnails on main page */ #content UL.thumbnailCategories LI { - width: 49.9%; /* 49.9% for 2 per line, 33.3% for 3 per line*/ + width: 49.9%; /* 49.9% for 2 per line, 33.3% for 3 per line*/ } -/* display/hide thumbnails legend */ +/* Set defaults for thumbnails legend */ #content UL.thumbnails SPAN.thumbLegend { - display: block; /* display: none; if you don't want legend */ + display: block; /* display: none; if you don't want legend */ + height: 4em; /* legend height (don't set auto to be Gecko friendly)*/ } diff --git a/template/yoga/content.css b/template/yoga/content.css index 2f17de8ff..7a8909856 100644 --- a/template/yoga/content.css +++ b/template/yoga/content.css @@ -32,7 +32,6 @@ BODY#theNBMPage #content /* Thumbnails customization */ #content UL.thumbnails SPAN.thumbLegend { font-size: 80%; /* font size */ - height: 3em; /* max legend height (don't set auto to be Geko friendly)*/ overflow: hidden; /* oversized legend is clipped */ } -- cgit v1.2.3