Skip to content

Commit

Permalink
* typography: show empty p as empty line.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Apr 30, 2024
1 parent 259696f commit 67feffc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/typography/src/style/article.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
@apply -my-[--article-p-space];
}

.article p {
min-height: 1em;
}
.article p:empty::before {
content: ' ';
display: inline-block
}

.article hr {
@apply -my-[--article-hr-space];
}
Expand Down

0 comments on commit 67feffc

Please sign in to comment.