fix(ui): blink for the heading block during into editing mode

This commit is contained in:
charlie
2024-11-06 10:16:56 +08:00
parent dc3bdc793c
commit e5c597f59b
2 changed files with 7 additions and 1 deletions

View File

@@ -542,6 +542,7 @@
.editor-inner .h3.uniline-block {
font-size: 1.2rem;
min-height: 1.2em;
line-height: 1.15em;
}
.ls-block h4,
@@ -573,6 +574,11 @@
@apply border-b border-gray-06 mt-1 mb-2 pb-1;
}
.editor-inner textarea.uniline-block:is(.h1, .h2) {
border-bottom-style: solid;
border-bottom-color: transparent;
}
.block-ref .ls-block :is(h1, h2),
.block-ref .editor-inner :is(.h1, .h2) {
border-bottom: none;