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(menu): set a trailing check as far from the edge as the leading icon
Elian Doranfe452acb9ada
diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.cssindex 0ba90f7af8..f47ca9e359 100644--- a/apps/client/src/stylesheets/theme-next/base.css+++ b/apps/client/src/stylesheets/theme-next/base.css@@ -173,7 +173,7 @@ body.backdrop-effects-disabled {}/* The row's own icon is spaced by the `.tn-menu-gap` beside it. */-.dropdown-menu.tn-dropdown-menu .dropdown-item .tn-icon:not(.dropdown-item > span > :first-child) {+.dropdown-menu.tn-dropdown-menu .dropdown-item .tn-icon:not(.dropdown-item > span > :first-child, .menu-trailing-icon) {margin-inline-end: 6px;}@@ -246,6 +246,10 @@ body.desktop .dropdown-item.dropdown-submenu .dropdown-toggle,padding-inline-end: var(--menu-item-end-padding) !important;}+.dropdown-item:not(.dropdown-submenu) span.menu-trailing-icon {+ margin-inline-end: calc(var(--menu-item-start-padding) - var(--menu-item-end-padding));+}+.dropdown-item.dropdown-submenu {padding: 0 !important;