Skip to content

How to remove blank line for sublist? #223

Answered by vincerubinetti
hyeokhyen asked this question in Q&A
Discussion options

You must be logged in to vote

This is a CSS "bug". I've noted it in #209, but here is a fix you can apply right away. In _styles/list.scss, within li { ... } and under line-height, add the following:

ul,
ol {
  margin: 0;
}

Normally, lists need a little bit of space (margin) above and below, but this says, when a list is inside another list item, set the space around it back to 0.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@hyeokhyen
Comment options

@hyeokhyen
Comment options

@hyeokhyen
Comment options

@vincerubinetti
Comment options

Answer selected by vincerubinetti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants