mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-30 09:01:30 +08:00
style(next): improve hr style
This commit is contained in:
parent
ce1ae84313
commit
9fcdc0e0c5
@ -54,7 +54,7 @@ const TPL = `
|
|||||||
cursor: text !important;
|
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;
|
margin-top: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -983,7 +983,7 @@ html body .dropdown-item.disabled {
|
|||||||
overflow: unset;
|
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 */
|
/* Create some space for the top-side shadow */
|
||||||
margin-top: 1px !important;
|
margin-top: 1px !important;
|
||||||
}
|
}
|
||||||
@ -1048,6 +1048,13 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
|
|||||||
right: 0.35em;
|
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 {
|
.note-detail-printable:not(.word-wrap) pre code {
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user