fixed nav-child-indent padding while collapse

pull/2197/head
REJack 5 years ago
parent d6c8360f4f
commit f3eeb0bfaa
No known key found for this signature in database
GPG Key ID: 9F3976CC630CC888

@ -313,6 +313,10 @@ body,
&::before {
margin-left: -$sidebar-width;
}
.nav-sidebar.nav-child-indent .nav-treeview {
padding: 0;
}
}
@include media-breakpoint-down(sm) {

@ -133,6 +133,7 @@
&.nav-child-indent {
.nav-treeview {
transition: padding $transition-speed $transition-fn;
padding-left: 1rem;
}
}

@ -147,6 +147,10 @@
&.sidebar-focused {
width: $sidebar-width;
.nav-sidebar.nav-child-indent .nav-treeview {
padding-left: 1rem;
}
.brand-link {
width: $sidebar-width;
}

Loading…
Cancel
Save