From 2b1b7774f8c16ce3efb747e17f06640690c9c138 Mon Sep 17 00:00:00 2001 From: zadam Date: Wed, 19 Feb 2020 22:24:31 +0100 Subject: [PATCH] make images in text notes rendered responsively in a book, fixes #871 --- src/public/stylesheets/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index 3deaeebf6..10acf89d6 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%; }