diff --git a/src/public/app/services/note_list_renderer.js b/src/public/app/services/note_list_renderer.js index 6fb43e174..fac9136b9 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%;