style(next): improve note list layout

This commit is contained in:
Elian Doran 2024-12-02 21:45:27 +02:00
parent 46be700c05
commit 884092582f
No known key found for this signature in database

View File

@ -1119,7 +1119,8 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
.note-list-wrapper .note-book-card .note-book-header { .note-list-wrapper .note-book-card .note-book-header {
font-size: 1em; font-size: 1em;
font-weight: bold; font-weight: bold;
padding: 0.5em 1em; padding: 0.5em 1rem;
border-bottom-color: var(--card-border-color);
} }
.note-list-wrapper .note-book-card .note-book-header .note-icon { .note-list-wrapper .note-book-card .note-book-header .note-icon {
@ -1133,6 +1134,12 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
vertical-align: middle; vertical-align: middle;
} }
.note-list-wrapper .note-book-card .note-book-header .rendered-note-attributes {
font-size: 0.7em;
font-weight: normal;
margin-bottom: 0;
}
.note-list-wrapper .note-book-card .note-book-header:last-child { .note-list-wrapper .note-book-card .note-book-header:last-child {
border-bottom: 0; border-bottom: 0;
margin-bottom: 0; margin-bottom: 0;
@ -1145,7 +1152,11 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
} }
.note-list-wrapper .note-book-card .note-book-content .rendered-content { .note-list-wrapper .note-book-card .note-book-content .rendered-content {
padding: 1em; padding: 1rem;
}
.note-list-wrapper .note-book-card .note-book-content .rendered-content.text-with-ellipsis {
padding: 1rem !important;
} }
.note-list-wrapper .note-book-card .note-book-content h1, .note-list-wrapper .note-book-card .note-book-content h1,
@ -1171,6 +1182,5 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
} }
.note-list-wrapper .note-book-card .bx { .note-list-wrapper .note-book-card .bx {
color: var(--left-pane-icon-color); color: var(--left-pane-icon-color) !important;
font-weight: bold;
} }