Skip to content

Build your personal knowledge base with Trilium Notes

style(next): improve note list layout

Elian Doran884092582f74
diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css
index 2a3a803823..dacbcc5cb6 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;
}