Fix heading styles in markdown (fix #4995)

This commit is contained in:
the1812 2024-11-10 23:37:14 +08:00
parent d90f47e5da
commit 2a79e6cd18

View File

@ -1,6 +1,17 @@
@import "common";
@import 'common';
@mixin markdown {
line-height: normal;
h1,
h2,
h3,
h4,
h5,
h6 {
margin-block-start: 1em;
margin-block-end: 0.75em;
@include semi-bold();
color: inherit;
}
ul,
ul li {
list-style: disc;
@ -71,7 +82,7 @@
color: inherit !important;
}
&::before {
content: "";
content: '';
position: absolute;
display: block;
width: 3px;