style(next): improve hr style

This commit is contained in:
Elian Doran 2024-12-02 22:16:26 +02:00
parent ce1ae84313
commit 9fcdc0e0c5
No known key found for this signature in database
2 changed files with 9 additions and 2 deletions

View File

@ -54,7 +54,7 @@ const TPL = `
cursor: text !important;
}
.note-detail-editable-text *:not(figure,.include-note):first-child {
.note-detail-editable-text *:not(figure, .include-note, hr):first-child {
margin-top: 0 !important;
}

View File

@ -983,7 +983,7 @@ html body .dropdown-item.disabled {
overflow: unset;
}
html .note-detail-editable-text :not(figure, .include-note):first-child {
html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
/* Create some space for the top-side shadow */
margin-top: 1px !important;
}
@ -1048,6 +1048,13 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
right: 0.35em;
}
.ck-content hr {
margin: 5px 0;
height: 1px;
background-color: var(--main-border-color);
opacity: 1;
}
.note-detail-printable:not(.word-wrap) pre code {
white-space: pre;
margin-right: 1em;