fix: extra empty lines in codeblocks still displayed in some cases
This commit is contained in:
parent
b70a01a43a
commit
960e85f92d
|
@ -175,7 +175,7 @@ const className = Astro.props.class;
|
||||||
margin-right: 1rem
|
margin-right: 1rem
|
||||||
width: 1rem
|
width: 1rem
|
||||||
color: rgba(255, 255, 255, 0.25)
|
color: rgba(255, 255, 255, 0.25)
|
||||||
&:last-child:empty
|
&:last-child:empty, &:last-child:has(> span:empty:only-child)
|
||||||
display: none
|
display: none
|
||||||
|
|
||||||
pre
|
pre
|
||||||
|
|
Loading…
Reference in New Issue