Skip to content

Commit

Permalink
🐛 fix: fix markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jun 19, 2024
1 parent a1a4bbc commit 9d342cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Markdown/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ export const useStyles = createStyles(
margin-block: ${marginMultiple * -0.75}em;
/* 解决只有一个子节点时高度坍缩的问题 */
:only-child {
margin-block: 0;
}
ol,
ul {
li {
Expand Down

0 comments on commit 9d342cc

Please sign in to comment.