1 parent 17c6e1a commit 21c66fcCopy full SHA for 21c66fc
1 file changed
styles/modules/_editor.scss
@@ -565,9 +565,14 @@ body > .protyle-wysiwyg [data-node-id] {
565
}
566
567
// 分隔线
568
-.protyle-wysiwyg [data-node-id].hr>div::after {
569
- height: .2em;
570
- top: calc(15px - .2em); // 与块标对齐
+.protyle-wysiwyg [data-node-id].hr > div {
+ height: unset; // 兼容 https://github.com/siyuan-note/siyuan/pull/15701 前的旧版本样式
+ min-height: 1.625em;
571
+
572
+ &::after {
573
+ height: calc(3em / 16);
574
+ top: calc(1.625em / 2 - (3em / 16) / 2); // 居中,与块标对齐
575
+ }
576
577
.b3-typography hr {
578
border-bottom-width: .2em;
0 commit comments