fix: h1/h2 underline should not render inside of block-ref

This commit is contained in:
Peng Xiao
2021-07-20 23:54:08 +08:00
committed by Tienson Qin
parent 6eb3588930
commit c31c9b398d

View File

@@ -279,6 +279,11 @@
margin: 0.4em 0 0;
}
.block-ref .ls-block :is(h1, h2),
.block-ref .editor-inner :is(.h1, .h2) {
border-bottom: none;
}
.document-mode .ls-block h1,
.document-mode .editor-inner .h1 {
margin: 0.67em 0;