From 52c5e6a18be729c5b2a5860fc7ce915b3766a7c6 Mon Sep 17 00:00:00 2001 From: mustafahlvc Date: Wed, 27 Sep 2017 18:45:24 +0300 Subject: [PATCH] Nested group vertical navigation indentation fix --- .../navigation/navigation.component.ts | 1 - src/app/core/scss/partials/_navigation.scss | 16 ++++++---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/app/core/components/navigation/navigation.component.ts b/src/app/core/components/navigation/navigation.component.ts index a812cd0c..edd2c064 100644 --- a/src/app/core/components/navigation/navigation.component.ts +++ b/src/app/core/components/navigation/navigation.component.ts @@ -26,7 +26,6 @@ export class FuseNavigationComponent implements OnDestroy ngOnDestroy() { - console.warn('destroyed'); this.navigationModelChangeSubscription.unsubscribe(); } diff --git a/src/app/core/scss/partials/_navigation.scss b/src/app/core/scss/partials/_navigation.scss index af8161e2..ef6cbe13 100644 --- a/src/app/core/scss/partials/_navigation.scss +++ b/src/app/core/scss/partials/_navigation.scss @@ -104,25 +104,21 @@ > .nav-item { - > .nav-link { + > .nav-link, + &.nav-group > .group-title, + &.nav-group > .group-items > .nav-item > .nav-link { padding-left: 56px; } - &.nav-group { - padding-left: 32px; - } - > .children { > .nav-item { - > .nav-link { + > .nav-link, + &.nav-group > .group-title, + &.nav-group > .group-items > .nav-item > .nav-link { padding-left: 72px; } - - &.nav-group { - padding-left: 48px; - } } } }