From 08f7121a0d82fc6133abdf8eec9e15b5ffd663e9 Mon Sep 17 00:00:00 2001 From: Anna Wen <54281166+annawen1@users.noreply.github.com> Date: Fri, 5 Feb 2021 16:28:57 -0500 Subject: [PATCH] fix(megamenu): combine styles --- .../scss/components/masthead/_masthead-leftnav.scss | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/packages/styles/scss/components/masthead/_masthead-leftnav.scss b/packages/styles/scss/components/masthead/_masthead-leftnav.scss index 46ae78838c0..da4348bb4c5 100644 --- a/packages/styles/scss/components/masthead/_masthead-leftnav.scss +++ b/packages/styles/scss/components/masthead/_masthead-leftnav.scss @@ -316,6 +316,11 @@ border-bottom: 1px solid $ui-04; } + :host(#{$dds-prefix}-left-nav-menu[last-highlighted]) + .#{$prefix}--side-nav__submenu + .#{$prefix}--side-nav__submenu-content, + .#{$prefix}--masthead__side-nav__last-highlighted + .#{$prefix}--side-nav__submenu-content, .#{$prefix}--side-nav__menu-item.#{$prefix}--masthead__side-nav__last-highlighted .#{$prefix}--side-nav__link::after, :host(dds-left-nav-menu) @@ -326,14 +331,6 @@ border-bottom: none; } - :host(#{$dds-prefix}-left-nav-menu[last-highlighted]) - .#{$prefix}--side-nav__submenu, - .#{$prefix}--masthead__side-nav__last-highlighted { - .#{$prefix}--side-nav__submenu-content { - border-bottom: none; - } - } - .#{$prefix}--side-nav__submenu-platform { flex-direction: row;