From 884092582f74179422357119a3c0d9ee59bbf2de Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 2 Dec 2024 21:45:27 +0200 Subject: [PATCH] style(next): improve note list layout --- src/public/stylesheets/theme-next.css | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css index 2a3a80382..dacbcc5cb 100644 --- a/src/public/stylesheets/theme-next.css +++ b/src/public/stylesheets/theme-next.css @@ -1119,7 +1119,8 @@ html .note-detail-editable-text :not(figure, .include-note):first-child { .note-list-wrapper .note-book-card .note-book-header { font-size: 1em; 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 { @@ -1133,6 +1134,12 @@ html .note-detail-editable-text :not(figure, .include-note):first-child { 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 { border-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 { - 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, @@ -1171,6 +1182,5 @@ html .note-detail-editable-text :not(figure, .include-note):first-child { } .note-list-wrapper .note-book-card .bx { - color: var(--left-pane-icon-color); - font-weight: bold; + color: var(--left-pane-icon-color) !important; }