diff --git a/src/public/app/services/note_list_renderer.js b/src/public/app/services/note_list_renderer.js index 22e593470..34b69afc1 100644 --- a/src/public/app/services/note_list_renderer.js +++ b/src/public/app/services/note_list_renderer.js @@ -99,13 +99,15 @@ const TPL = ` padding: 10px; } - .note-book-content.type-image img { + .note-book-content.type-image img, .note-book-content.type-canvas-note svg { 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 { + .note-book-card.type-image .note-book-content img, + .note-book-card.type-text .note-book-content img, + .note-book-card.type-canvas-note .note-book-content img { max-width: 100%; max-height: 100%; } diff --git a/src/public/app/widgets/type_widgets/canvas_note.js b/src/public/app/widgets/type_widgets/canvas_note.js index 35ac462d5..d6690405d 100644 --- a/src/public/app/widgets/type_widgets/canvas_note.js +++ b/src/public/app/widgets/type_widgets/canvas_note.js @@ -10,7 +10,7 @@ const TPL = `
`; - content = ` + content = `
-
+
+
- `; - +
`; } else { content = '

This note type cannot be displayed.

';