From b063b4c528adb93aef8f33a124676db7bc25850c Mon Sep 17 00:00:00 2001 From: zadam Date: Tue, 12 May 2020 12:28:59 +0200 Subject: [PATCH] read only view images should not overflow --- src/public/app/widgets/type_widgets/read_only_text.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/public/app/widgets/type_widgets/read_only_text.js b/src/public/app/widgets/type_widgets/read_only_text.js index 83ae447ac..9e7641414 100644 --- a/src/public/app/widgets/type_widgets/read_only_text.js +++ b/src/public/app/widgets/type_widgets/read_only_text.js @@ -22,6 +22,10 @@ const TPL = ` .note-detail-readonly-text p:first-child, .note-detail-text::before { margin-top: 0; } + + .note-detail-readonly-text img { + max-width: 100%; + }
@@ -77,4 +81,4 @@ export default class ReadOnlyTextTypeWidget extends AbstractTextTypeWidget { this.loadIncludedNote(noteId, $(el)); }); } -} \ No newline at end of file +}