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
fix(text): bad rendering of link preview in figcaption
Elian Doranbd7fae99b1e7
diff --git a/apps/client/src/widgets/type_widgets/text/LinkEmbed.css b/apps/client/src/widgets/type_widgets/text/LinkEmbed.cssindex a1cf41e3e8..d3f644d2f8 100644--- a/apps/client/src/widgets/type_widgets/text/LinkEmbed.css+++ b/apps/client/src/widgets/type_widgets/text/LinkEmbed.css@@ -66,6 +66,12 @@flex-shrink: 0;}+.ck-content .image img.link-embed-mention-favicon {+ min-width: unset;+ margin: 0 4px 0 0;+ display: unset;+}+.link-embed-mention-dot {display: inline-block;width: 8px;@@ -136,7 +142,7 @@/* ---------- Click-to-play facade ----------Shown in place of the player until the user asks for it, so opening a note never contactsYouTube. The thumbnail is the one stored in the note, not a remote one. */-+.link-embed-video-facade {position: relative;