mirror of
https://github.com/MCKero6423/fuwari.git
synced 2026-10-02 03:15:35 +00:00
fix: hide the extra empty line in code blocks
This commit is contained in:
1 parent
03d88af14e
commit
5cfc78ef65
1 file changed
+2
@@ -90,6 +90,8 @@ 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
|
||||||
|
display: none
|
||||||
|
|
||||||
pre
|
pre
|
||||||
background: var(--codeblock-bg) !important
|
background: var(--codeblock-bg) !important
|
||||||
|
|||||||
Reference in new issue
Block a user