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?

Comments

AlexisWilke’s picture

Is that still a problem?

Thank you.
Alexis Wilke

AlexisWilke’s picture

Status: Active » Fixed

I will assume that this is fixed.

Thank you.
Alexis Wilke

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.