Skip to content

Commit 15b9d9f

Browse files
committed
fix: remove font hack because of fixed fonts
1 parent c5190be commit 15b9d9f

File tree

1 file changed

+1
-2
lines changed
  • packages/ui-react/src/components/menu

1 file changed

+1
-2
lines changed

packages/ui-react/src/components/menu/menu.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ const Item = ({
168168
>
169169
{icon && <span className="flex items-center justify-center">{icon}</span>}
170170

171-
{/* This 2px padding is there to fix some issues with the font not being correctly centered. */}
172-
<span className="col-start-2 pt-[2px]">{children}</span>
171+
<span className="col-start-2">{children}</span>
173172

174173
<ChevronRightIcon className="size-4 hidden group-aria-[haspopup]/item:block" />
175174
</MenuPrimitive.Item>

0 commit comments

Comments
 (0)