Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
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.tsindex 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.cssindex 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;}