Skip to content

Commit

Permalink
fix(megamenu): combine styles
Browse files Browse the repository at this point in the history
  • Loading branch information
annawen1 committed Feb 5, 2021
1 parent 876bad6 commit 08f7121
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions packages/styles/scss/components/masthead/_masthead-leftnav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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;

Expand Down

0 comments on commit 08f7121

Please sign in to comment.