Skip to content

Build your personal knowledge base with Trilium Notes

link previews: fix some issues in the share theme

Adorian Doran15680313fcc8
diff --git a/packages/share-theme/src/styles/link-embed.css b/packages/share-theme/src/styles/link-embed.css
index 9807300e2b..84fc5323e6 100644
--- a/packages/share-theme/src/styles/link-embed.css
+++ b/packages/share-theme/src/styles/link-embed.css
@@ -66,8 +66,8 @@
.link-embed-video {
position: relative;
- width: 100%;
max-width: 640px;
+ margin: auto;
border-radius: 8px;
overflow: hidden;
background: #000;
@@ -100,6 +100,7 @@
height: 100%;
object-fit: cover;
display: block;
+ filter: blur(20px) brightness(.65);
}
.link-embed-video-play {
@@ -135,6 +136,7 @@
.link-embed-card {
display: flex;
+ width: 100%;
border: 1px solid var(--background-highlight);
border-radius: 4px;
overflow: hidden;