TOC inherits awkward spacing from theme

christopher.smith - April 2, 2009 - 07:23
Project:Table of Contents
Version:6.x-2.2
Component:User interface
Category:bug report
Priority:minor
Assigned:Unassigned
Status:active
Description

I'm using Garland, and I found that the Garland stylesheet sets top and bottom margins and padding on the <ol>, <ul>, and <li> elements that make the table of contents look unbalanced. I'm not fluent enough in CSS to provide a really clean fix, but setting

.toc-list [ELEMENT] {
padding-top: 0;
padding-bottom: 0;
margin-top: 0;
margin-bottom: 0;
}

for ol, ul, and li fixed the issue for me. Could this be included in the default TOC stylesheet?

#1

AlexisWilke - July 19, 2009 - 08:24

Is that still a problem?

Thank you.
Alexis Wilke

 
 

Drupal is a registered trademark of Dries Buytaert.