Skip to content

Commit

Permalink
fix(EbayFakeMenuButton): use btn-cell to add margin between chevron a…
Browse files Browse the repository at this point in the history
…nd action content (#440)

fix(EbayFakeMenuButton): use btn-cell to add margin with chevron and action content
  • Loading branch information
HenriqueLimas authored Feb 7, 2025
1 parent 5e2fb20 commit dbc5f54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/honest-parents-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/ui-core-react": patch
---

fix(EbayFakeMenuButton): use btn-cell to add margin with chevron and action content
2 changes: 1 addition & 1 deletion src/ebay-fake-menu-button/menu-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ const EbayMenuButton: FC<Props> = ({
<EbayIconButton icon="overflowHorizontal24" {...buttonProps} /> :
<EbayButton
variant={variant === 'form' ? 'form' : undefined}
bodyState={!noToggleIcon ? 'expand' : undefined}
{...buttonProps}
>
{icon}{label}
{!noToggleIcon && <EbayIcon name="chevronDown12" />}
</EbayButton>
}
{expanded &&
Expand Down

0 comments on commit dbc5f54

Please sign in to comment.