Skip to content

Commit

Permalink
fix(css): margin issue of nested ol/ul
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Jan 9, 2021
1 parent e781e17 commit 25de088
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions assets/scss/layout/_single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

.post {
p {
margin: 0 0 1em;
margin: 1em 0;
line-height: $lineHeight;
}
img {
Expand All @@ -56,7 +56,7 @@
}
}
ol, ul {
margin: 1em 0;
margin: 0;
padding-left: 2em;
line-height: $lineHeight;
}
Expand Down Expand Up @@ -104,7 +104,6 @@ blockquote {
.contents {
margin-top: 5em;
ol, ul {
margin: 0;
list-style: none;
}
}
Expand Down
Loading

0 comments on commit 25de088

Please sign in to comment.