Changeset 1341


Ignore:
Timestamp:
Jun 5, 2006, 4:36:15 PM (18 years ago)
Author:
chrisaga
Message:

improve : set legend height in template-common/default-layout.css, not in the template.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/template-common/default-layout.css

    r1328 r1341  
    4242/* Category thumbnails on main page */
    4343#content UL.thumbnailCategories LI {
    44   width: 49.9%; /* 49.9% for 2 per line, 33.3% for 3 per line*/
     44  width: 49.9%;         /* 49.9% for 2 per line, 33.3% for 3 per line*/
    4545}
    4646
    47 /* display/hide thumbnails legend */
     47/* Set defaults for thumbnails legend */
    4848#content UL.thumbnails SPAN.thumbLegend {
    49   display: block;               /* display: none; if you don't want legend */
     49  display: block;       /* display: none; if you don't want legend */
     50  height: 4em;          /* legend height (don't set auto to be Gecko friendly)*/
    5051}
  • trunk/template/yoga/content.css

    r1263 r1341  
    3333#content UL.thumbnails SPAN.thumbLegend {
    3434  font-size: 80%;               /* font size */
    35   height: 3em;                  /* max legend height (don't set auto to be Geko friendly)*/
    3635  overflow: hidden;             /* oversized legend is clipped */
    3736}
Note: See TracChangeset for help on using the changeset viewer.