fix: extra empty lines in codeblocks still displayed in some cases

This commit is contained in:
saicaca 2024-06-22 00:49:30 +08:00
parent b70a01a43a
commit 960e85f92d
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ const className = Astro.props.class;
margin-right: 1rem
width: 1rem
color: rgba(255, 255, 255, 0.25)
&:last-child:empty
&:last-child:empty, &:last-child:has(> span:empty:only-child)
display: none
pre