Skip to content

Commit

Permalink
style(next): adjust the vertical offset of the menu item icons to ali…
Browse files Browse the repository at this point in the history
…gn with the new font metrics
  • Loading branch information
adoriandoran committed Jan 31, 2025
1 parent c878a6d commit 48b4f37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/public/stylesheets/theme-next/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion src/public/stylesheets/theme-next/shell.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 48b4f37

Please sign in to comment.