Skip to content

Build your personal knowledge base with Trilium Notes

style(next): full width images in note list layout

Elian Doran9ba22c32b1b8
diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css
index dacbcc5cb6..4de34232c2 100644
--- a/src/public/stylesheets/theme-next.css
+++ b/src/public/stylesheets/theme-next.css
@@ -1173,6 +1173,8 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
margin-bottom: 0;
}
+.note-list-wrapper .note-book-card .note-book-content.type-canvas .rendered-content,
+.note-list-wrapper .note-book-card .note-book-content.type-mindMap .rendered-content,
.note-list-wrapper .note-book-card .note-book-content.type-code .rendered-content {
padding: 0;
}
@@ -1184,3 +1186,8 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
.note-list-wrapper .note-book-card .bx {
color: var(--left-pane-icon-color) !important;
}
+
+.note-list.grid-view .note-book-card img {
+ object-fit: cover !important;
+ width: 100%;
+}
\ No newline at end of file