How to remove blank line for sublist? #223
-
Hi, I am making a list with a sublist. For example,
When rendering there is a blank line spacing between 'Coding experience:' and 'python (required)' Could you help me with this? |
Beta Was this translation helpful? Give feedback.
Answered by
vincerubinetti
Nov 10, 2023
Replies: 1 comment 4 replies
-
This is a CSS "bug". I've noted it in #209, but here is a fix you can apply right away. In 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. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
vincerubinetti
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
, withinli { ... }
and underline-height
, add the following: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.