aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-06-05 14:36:15 +0000
committerchrisaga <chrisaga@piwigo.org>2006-06-05 14:36:15 +0000
commit1d68294b454e11f05b78d4a0ab791eb8f0b8cebc (patch)
tree462152aad637ca70422d159bd8cd9bd01e35832f /template
parent5223db6a50d9dfd68d2baa982275aad4daaddbaa (diff)
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
Diffstat (limited to '')
-rw-r--r--template-common/default-layout.css7
-rw-r--r--template/yoga/content.css1
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 */
}