Skip to content

Build your personal knowledge base with Trilium Notes

make images in text notes rendered responsively in a book, fixes #871

zadam2b1b7774f8c1
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index 3deaeebf69..10acf89d66 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -897,7 +897,7 @@ a.external:not(.no-arrow):after, a[href^="http://"]:not(.no-arrow):after, a[href
text-align: center;
}
-.note-book-card.type-image .note-book-content img {
+.note-book-card.type-image .note-book-content img, .note-book-card.type-text .note-book-content img {
max-width: 100%;
max-height: 100%;
}