Skip to content

Build your personal knowledge base with Trilium Notes

style(next): improve text note view in note list grid view

Elian Doran074683873784
diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css
index b2eafac95e..e558987fce 100644
--- a/src/public/stylesheets/theme-next.css
+++ b/src/public/stylesheets/theme-next.css
@@ -1244,3 +1244,15 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
object-fit: cover !important;
width: 100%;
}
+
+.note-list.grid-view .ck-content {
+ line-height: 1.3;
+}
+
+.note-list.grid-view .ck-content p {
+ margin-bottom: 0.5em;
+}
+
+.note-list.grid-view .ck-content figure.image {
+ width: 25%;
+}
\ No newline at end of file