Skip to content

Commit

Permalink
Removes margin at end of block for nested lists (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarstairs-scottlogic authored Dec 20, 2023
1 parent 0ff5546 commit 7c9bde0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion scss/_default-post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,18 @@

ol, ul {
list-style-position: outside;
margin: 0 0 1rem 1.25rem;
margin-block: 0 1rem;
margin-inline: 1.25rem 0;
padding: 0;
font-weight: $font-light;
font-size: $baseFontSize;
line-height: 1.6;
}

:is(ol, ul) :is(ol, ul) {
margin-block-end: 0;
}

ul {
list-style-type: disc;
}
Expand Down
2 changes: 1 addition & 1 deletion style.css

Large diffs are not rendered by default.

0 comments on commit 7c9bde0

Please sign in to comment.