Skip to content

Commit f052efa

Browse files
committed
fix: ToggleButton padding in MegaMenu
1 parent 28d61c1 commit f052efa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,7 @@ export const MegaMenu: React.FC<MegaMenuProps> = ({ menuGroups, className, ...re
305305
{section.links.map((link, linkIndex) => (
306306
<ToggleButton
307307
key={`link-${linkIndex}`}
308-
className="fit-height p-4 pr-12"
309-
style={{ height: "auto", minHeight: "fit-content" }}
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)" }}
310309
fillWidth
311310
horizontal="start"
312311
href={link.href}

0 commit comments

Comments
 (0)