Skip to content

Commit 0ab3878

Browse files
mozziusclaude
andcommitted
shrink web menu icons to 18px and pull them 4px closer to the edge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent e5e1e12 commit 0ab3878

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎src/components/Menu/index.web.tsx‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,9 @@ export function Item({
284284
a.flex_row,
285285
a.align_center,
286286
a.gap_sm,
287-
a.px_lg,
287+
// Less on the leading side, for the icon's visual balance
288+
a.pl_md,
289+
a.pr_lg,
288290
a.py_md,
289291
a.overflow_hidden,
290292
{minHeight: 44},
@@ -373,7 +375,8 @@ export function ItemIcon({icon: Comp, fill}: ItemIconProps) {
373375
const {disabled, destructive, selected} = useMenuItemContext()
374376
return (
375377
<Comp
376-
size="md"
378+
// Between `sm` and `md`, to sit with the 13px labels
379+
width={18}
377380
fill={
378381
fill
379382
? fill({disabled})

0 commit comments

Comments
 (0)