Reduce whitespace between items in bullet lists and ordered lists

Comments

4 comments

  • Avatar
    Krohn, Matthias

    Hi Patrick,

    your code looks alright besides you use a comma for the padding-left value. Try, whether a dot instead solves the problem.

    Matthias

    0
    Comment actions Permalink
  • Avatar
    Patrick Vanhoof

    Hi Matthias,

    Thanks, that is indeed a typo I guess, but changing it into a dot does not make any difference. Nor does changing e.g. font-size. Maybe the ".wikicontent p" overrides these settings?

    Patrick

    0
    Comment actions Permalink
  • Avatar
    Krohn, Matthias

    Hi Patrick,

    I think you are right with your suggestion.

    You can have a look at the xhtml file created by the Exporter as base for the final PDF creation. You find this in the directory <Confluence data>\temp\scrll_PdfExporter<id> where <id> identifies the individual export. My example shows the following code:

    <p>Normal text</p>
     <ul class="">
       <li class="">
       <p>First bullet item</p>
      </li>
      <li class="">
       <p>Second bullet item</p>
      </li>
     </ul>
    <p>Normal text</p>

    If you want to reduce the whitespace between list items lower than the value configured for the normal <p> tag you may try the following:
    .wikicontent ul p {...}

    Matthias

    0
    Comment actions Permalink
  • Avatar
    Patrick Vanhoof

    Hi Matthias,

    That indeed does the trick! Thanks!

    Patrick

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk