Skip to content

Build your personal knowledge base with Trilium Notes

feat(share): align reference link icons like the app

Elian Doran86499863ba78
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 50ab2564c7..32cf9dc1f6 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -2206,11 +2206,6 @@ button.close:hover {
display: none;
}
-.reference-link .tn-icon {
- position: relative;
- top: 1px;
-}
-
.reference-link small {
display: inline-block;
}
diff --git a/packages/ckeditor5/src/theme/reference_links.css b/packages/ckeditor5/src/theme/reference_links.css
index b7995e9a3e..f2ecac68c2 100644
--- a/packages/ckeditor5/src/theme/reference_links.css
+++ b/packages/ckeditor5/src/theme/reference_links.css
@@ -2,6 +2,8 @@
/* A line can wrap after an inline-block. An inline box that does not wrap and ends with a
word joiner keeps the icon on the line of the first title character. */
display: inline;
+ position: relative;
+ top: 1px;
margin-inline-end: 3px;
white-space: nowrap;
}