Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
style(next): adjust the vertical offset of the menu item icons to align with the new font metrics
Adorian Doran48b4f37f91d8
diff --git a/src/public/stylesheets/theme-next/base.css b/src/public/stylesheets/theme-next/base.cssindex acb1250c2c..7d030b3200 100644--- a/src/public/stylesheets/theme-next/base.css+++ b/src/public/stylesheets/theme-next/base.css@@ -44,7 +44,7 @@--center-pane-border-radius: 10px;--menu-padding-size: 8px;- --menu-item-icon-vert-offset: 0;+ --menu-item-icon-vert-offset: -2px;--more-accented-background-color: var(--card-background-hover-color);diff --git a/src/public/stylesheets/theme-next/shell.css b/src/public/stylesheets/theme-next/shell.cssindex 57b3847740..1f80fcb0fa 100644--- a/src/public/stylesheets/theme-next/shell.css+++ b/src/public/stylesheets/theme-next/shell.css@@ -524,7 +524,7 @@ body.mobile .fancytree-node > span {#context-menu-container {/* The context menu of the tree */- --menu-item-icon-vert-offset: 1.5px;+ --menu-item-icon-vert-offset: -1px;}/* Tree actions toolbar */