diff --git a/packages/clay-css/src/scss/cadmin/components/_navs.scss b/packages/clay-css/src/scss/cadmin/components/_navs.scss index 0091848c4b..b3ea6b5b0d 100644 --- a/packages/clay-css/src/scss/cadmin/components/_navs.scss +++ b/packages/clay-css/src/scss/cadmin/components/_navs.scss @@ -127,7 +127,9 @@ // Nav Tabs .nav-tabs { - @include clay-nav-variant($cadmin-nav-tabs) .dropdown-menu { + @include clay-nav-variant($cadmin-nav-tabs); + + .dropdown-menu { @include border-top-radius(0); margin-top: math-sign($cadmin-nav-tabs-border-width); diff --git a/packages/clay-css/src/scss/mixins/_nav.scss b/packages/clay-css/src/scss/mixins/_nav.scss index 28f3bb0178..f6fc5d6edd 100644 --- a/packages/clay-css/src/scss/mixins/_nav.scss +++ b/packages/clay-css/src/scss/mixins/_nav.scss @@ -94,12 +94,11 @@ @if (type-of($map) == 'map') { $enabled: setter(map-get($map, enabled), true); - $base: setter($map, ()); $base: map-merge( - $base, + $map, ( background-color: - setter(map-get($map, bg), map-get($base, background-color)), + setter(map-get($map, bg), map-get($map, background-color)), ) ); @@ -221,21 +220,15 @@ } .nav-link-monospaced { - @include clay-link( - setter(map-get($map, nav-link-monospaced), ()) - ); + @include clay-link(map-get($map, nav-link-monospaced)); } .nav-btn { - @include clay-button-variant( - setter(map-get($map, nav-btn), ()) - ); + @include clay-button-variant(map-get($map, nav-btn)); } .nav-btn-monospaced { - @include clay-button-variant( - setter(map-get($map, nav-btn-monospaced), ()) - ); + @include clay-button-variant(map-get($map, nav-btn-monospaced)); } .nav-item {