Skip to content

Commit

Permalink
fix(css): margin issue of post type poetry
Browse files Browse the repository at this point in the history
caused by `display: table`
  • Loading branch information
reuixiy committed Jan 9, 2021
1 parent 1756220 commit a65114a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/scss/base/_data-attributes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
.post-body {
display: table;
margin: 0 auto;

p {
margin: 0 0 1em;
}
}
.post-body > p:first-child {
img, video {
Expand Down

0 comments on commit a65114a

Please sign in to comment.