fix: block being referenced has no indication of it being a block ref

This commit is contained in:
Tienson Qin
2021-08-24 22:17:19 +08:00
parent 977c6dc25b
commit cdb0eb2456
2 changed files with 59 additions and 42 deletions

View File

@@ -154,10 +154,6 @@
}
}
.block-ref-no-title {
cursor: alias;
}
.block-ref {
border-bottom: 0.5px solid;
border-bottom-color: var(--ls-block-ref-link-text-color);
@@ -174,6 +170,22 @@
}
}
.block-ref-no-title {
border-bottom: 0.5px solid;
border-bottom-color: var(--ls-block-ref-link-text-color);
cursor: alias;
padding: 2px 5px;
display: block;
&:hover {
color: var(--ls-link-text-hover-color);
}
.block-content {
cursor: inherit;
}
}
.page-ref {
color: var(--ls-link-ref-text-color);
@@ -304,6 +316,11 @@
border-bottom: none;
}
.block-ref :is(h1, h2, h3, h4, h5, h6) {
border-bottom: none;
font-size: 1rem;
}
.document-mode .ls-block h1,
.document-mode .editor-inner .h1 {
margin: 0.67em 0;