Skip to content

Build your personal knowledge base with Trilium Notes

Tweak the offset of menu item icons

Adorian Doran513d7f35b2d3
diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css
index 314383ee76..11454d73ca 100644
--- a/src/public/stylesheets/theme-next.css
+++ b/src/public/stylesheets/theme-next.css
@@ -50,7 +50,7 @@
--center-pane-border-radius: 10px;
--menu-padding-size: 8px;
- --menu-item-icon-vert-offset: 1.5px;
+ --menu-item-icon-vert-offset: 0;
}
/*
@@ -573,6 +573,11 @@
box-shadow: var(--left-pane-item-selected-action-button-hover-shadow);
}
+#context-menu-container {
+ /* The context menu of the tree */
+ --menu-item-icon-vert-offset: 1.5px;
+}
+
/*
* Gutter
*/