diff --git a/packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap b/packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap
index a5d69e36444..66b842f22bc 100644
--- a/packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap
+++ b/packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap
@@ -51753,77 +51753,85 @@ exports[`Storyshots Components|Dotcom Shell With L1 1`] = `
className="bx--masthead__megamenu__category-group"
>
- {href ? (
-
- {title}
-
-
- ) : (
-
-
{title}
+
+
+ {href ? (
+
+ {title}
+
+
+ ) : (
+
+ )}
+ {children}
- )}
- {children}
+
);
diff --git a/packages/styles/scss/components/masthead/_masthead-megamenu.scss b/packages/styles/scss/components/masthead/_masthead-megamenu.scss
index 09598895fa7..a0b757f93d2 100644
--- a/packages/styles/scss/components/masthead/_masthead-megamenu.scss
+++ b/packages/styles/scss/components/masthead/_masthead-megamenu.scss
@@ -111,8 +111,8 @@
}
.#{$prefix}--masthead__megamenu__categories {
- column-count: 4;
padding: 0 0 $layout-03 $layout-01;
+ column-count: 4;
.#{$prefix}--masthead__megamenu__container--hasHighlights & {
column-count: 3;
@@ -127,15 +127,17 @@
}
.#{$prefix}--masthead__megamenu__category-group {
- display: flex;
- flex-direction: column;
- padding-bottom: $spacing-07;
- overflow: hidden;
- break-inside: avoid-column;
+ display: inline;
- .#{$prefix}--masthead__megamenu__categories-section & {
+ .#{$prefix}--masthead__megamenu__categories-section &-shield {
margin-left: -1rem;
}
+
+ &-content {
+ width: 100%;
+ display: inline-block;
+ padding-bottom: $spacing-07;
+ }
}
.#{$prefix}--masthead__megamenu__category-headline {
@@ -174,6 +176,7 @@
color: $text-02;
text-decoration: none;
padding: 7px $spacing-05;
+ display: block;
&:hover,
&:active {