Skip to content

Commit ae765b2

Browse files
committed
fix: ToggleButton padding in MegaMenu (for real)
1 parent f052efa commit ae765b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/modules/navigation/MegaMenu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,13 +305,13 @@ export const MegaMenu: React.FC<MegaMenuProps> = ({ menuGroups, className, ...re
305305
{section.links.map((link, linkIndex) => (
306306
<ToggleButton
307307
key={`link-${linkIndex}`}
308-
style={{ height: "auto", minHeight: "fit-content", paddingLeft: "var(--static-space-4)", paddingTop: "var(--static-space-4)", paddingBottom: "var(--static-space-4)", paddingRight: "var(--static-space-12)" }}
308+
style={{ height: "auto", minHeight: "fit-content", paddingLeft: "var(--static-space-0)", paddingTop: "var(--static-space-4)", paddingBottom: "var(--static-space-4)", paddingRight: "var(--static-space-12)" }}
309309
fillWidth
310310
horizontal="start"
311311
href={link.href}
312312
onClick={handleLinkClick}
313313
>
314-
<Row gap="12" style={{marginLeft: "-0.5rem"}}>
314+
<Row gap="12">
315315
{link.icon && (
316316
<Icon
317317
name={link.icon}

0 commit comments

Comments
 (0)