Skip to content

Build your personal knowledge base with Trilium Notes

style(share): align the context menu's icons with their text

Elian Doran1aef2178459f
diff --git a/packages/share-theme/src/base.css b/packages/share-theme/src/base.css
index d5a64e43e1..ca878444c7 100644
--- a/packages/share-theme/src/base.css
+++ b/packages/share-theme/src/base.css
@@ -219,6 +219,11 @@ html.theme-dark {
--opaque-icon-button-hover-color: var(--hover-item-text-color);
}
+/* The context menu's own offset in `theme-next/shell.css`, for its smaller icons. */
+#context-menu-container {
+ --menu-item-icon-vert-offset: -1px;
+}
+
body {
background: var(--background-primary);
font-family: "Inter", system-ui, sans-serif;