Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
image scaling improvements
zadam4202af96c8b5
diff --git a/src/public/app/services/note_list_renderer.js b/src/public/app/services/note_list_renderer.jsindex 6fb43e174f..fac9136b96 100644--- a/src/public/app/services/note_list_renderer.js+++ b/src/public/app/services/note_list_renderer.js@@ -48,6 +48,8 @@ const TPL = `.note-book-card.expanded .note-book-content {display: block;+ min-height: 0;+ height: 100%;}.note-book-title {@@ -66,6 +68,12 @@ const TPL = `padding: 10px;}+ .note-book-content.type-image img {+ max-width: 100%;+ max-height: 100%;+ object-fit: contain;+ }+.note-book-card.type-image .note-book-content img, .note-book-card.type-text .note-book-content img {max-width: 100%;max-height: 100%;