Skip to content

Build your personal knowledge base with Trilium Notes

link previews: fix stacked video link previews

Adorian Doran66e18032a29b
diff --git a/apps/client/src/widgets/type_widgets/text/LinkEmbed.css b/apps/client/src/widgets/type_widgets/text/LinkEmbed.css
index 34ff8d8d0d..ebcb8015ff 100644
--- a/apps/client/src/widgets/type_widgets/text/LinkEmbed.css
+++ b/apps/client/src/widgets/type_widgets/text/LinkEmbed.css
@@ -110,7 +110,6 @@
.link-embed-video {
position: relative;
width: 100%;
- border-radius: 8px;
overflow: hidden;
}
@@ -232,6 +231,7 @@ section.link-embed:has(+ section.link-embed) {
on the touching edges of stacked cards (above), so all surfaces round alike. Kept after the card
rule so it outweighs that block's `all: unset` at the same specificity. */
.ck-widget.link-embed,
+.link-embed-video,
.link-embed-video iframe,
.link-embed-video-facade,
:root a.link-embed-card {