From 48b4f37f91d8047da877347b8f97449782a3f14f Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Fri, 31 Jan 2025 21:02:11 +0200 Subject: [PATCH] style(next): adjust the vertical offset of the menu item icons to align with the new font metrics --- src/public/stylesheets/theme-next/base.css | 2 +- src/public/stylesheets/theme-next/shell.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/public/stylesheets/theme-next/base.css b/src/public/stylesheets/theme-next/base.css index acb1250c2..7d030b320 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.css index 57b384774..1f80fcb0f 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 */