From ab5df9e01010e759256e073b272b4af278f13119 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 26 Feb 2025 19:36:30 +0200 Subject: [PATCH] feat(note_list): improve video preview --- src/public/app/widgets/note_list.ts | 4 ++++ src/public/stylesheets/theme-next/shell.css | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/public/app/widgets/note_list.ts b/src/public/app/widgets/note_list.ts index 84599d42b..7243ff9a9 100644 --- a/src/public/app/widgets/note_list.ts +++ b/src/public/app/widgets/note_list.ts @@ -20,6 +20,10 @@ const TPL = ` .note-list-widget.full-height .note-list-widget-content { height: 100%; } + + .note-list-widget video { + height: 100%; + }
diff --git a/src/public/stylesheets/theme-next/shell.css b/src/public/stylesheets/theme-next/shell.css index 2a433887e..377a3f484 100644 --- a/src/public/stylesheets/theme-next/shell.css +++ b/src/public/stylesheets/theme-next/shell.css @@ -1610,7 +1610,8 @@ div.bookmark-folder-widget .note-link .bx { .note-list-wrapper .note-book-card .note-book-content.type-canvas .rendered-content, .note-list-wrapper .note-book-card .note-book-content.type-mindMap .rendered-content, -.note-list-wrapper .note-book-card .note-book-content.type-code .rendered-content { +.note-list-wrapper .note-book-card .note-book-content.type-code .rendered-content, +.note-list-wrapper .note-book-card .note-book-content.type-video .rendered-content { padding: 0; }