Skip to content

Build your personal knowledge base with Trilium Notes

fix(text): link previews have underline text on hover

Elian Doranbe8c014aea4c
diff --git a/apps/client/src/widgets/type_widgets/text/LinkEmbed.css b/apps/client/src/widgets/type_widgets/text/LinkEmbed.css
index 04f4e707f3..c4bcc60c42 100644
--- a/apps/client/src/widgets/type_widgets/text/LinkEmbed.css
+++ b/apps/client/src/widgets/type_widgets/text/LinkEmbed.css
@@ -177,7 +177,6 @@
border: 1px solid var(--muted-text-color, #ccc);
border-radius: 4px;
overflow: hidden;
- text-decoration: none;
color: inherit;
cursor: pointer;
transition: background-color 0.15s ease;
@@ -186,7 +185,7 @@
.link-embed-card:hover {
background-color: var(--hover-item-background-color, rgba(0, 0, 0, 0.03));
- text-decoration: none;
+ text-decoration: none !important;
color: inherit;
}