Skip to content

Build your personal knowledge base with Trilium Notes

feat(note_list): improve video preview

Elian Doranab5df9e01010
diff --git a/src/public/app/widgets/note_list.ts b/src/public/app/widgets/note_list.ts
index 84599d42b6..7243ff9a9c 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%;
+ }
</style>
<div class="note-list-widget-content">
diff --git a/src/public/stylesheets/theme-next/shell.css b/src/public/stylesheets/theme-next/shell.css
index 2a433887ea..377a3f484c 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;
}