Skip to content

Commit

Permalink
Incorrect Icon Width on Menu Items twentyhq#5678 (twentyhq#5688)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudarsh1010 authored May 31, 2024
1 parent fa67077 commit 6ed6ebd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const MenuItemNavigate = ({
<StyledMenuItemLeftContent>
<MenuItemLeftContent LeftIcon={LeftIcon} text={text} />
</StyledMenuItemLeftContent>
<IconChevronRight size={theme.icon.size.sm} />
<IconChevronRight size={theme.icon.size.md} />
</StyledMenuItemBase>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const MenuItemSelect = ({
hovered={hovered}
>
<MenuItemLeftContent LeftIcon={LeftIcon} text={text} />
{selected && <IconCheck size={theme.icon.size.sm} />}
{selected && <IconCheck size={theme.icon.size.md} />}
</StyledMenuItemSelect>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const MenuItemSelectAvatar = ({
<OverflowingTextWithTooltip text={text} />
</StyledMenuItemLabel>
</StyledMenuItemLeftContent>
{selected && <IconCheck size={theme.icon.size.sm} />}
{selected && <IconCheck size={theme.icon.size.md} />}
</StyledMenuItemSelect>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const MenuItemSelectColor = ({
{colorLabels[color]}
</StyledMenuItemLabel>
</StyledMenuItemLeftContent>
{selected && <IconCheck size={theme.icon.size.sm} />}
{selected && <IconCheck size={theme.icon.size.md} />}
</StyledMenuItemSelect>
);
};

0 comments on commit 6ed6ebd

Please sign in to comment.