mirror of https://github.com/ColorlibHQ/AdminLTE
changed navbar child indent to optional via `.nav-child-indent`
parent
0ab4842315
commit
0b96c5ca71
|
@ -122,8 +122,6 @@
|
|||
|
||||
> .nav-item {
|
||||
> .nav-link {
|
||||
padding: 0.5rem 0.5rem 0.5rem 1.5rem;
|
||||
|
||||
> .nav-icon {
|
||||
width: $sidebar-nav-icon-width;
|
||||
}
|
||||
|
@ -131,6 +129,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.nav-child-indent {
|
||||
.nav-treeview > .nav-item > .nav-link {
|
||||
padding: 0.5rem 0.5rem 0.5rem 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-header {
|
||||
font-size: .9rem;
|
||||
padding: $nav-link-padding-y;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
@charset "UTF-8";
|
||||
/*!
|
||||
* AdminLTE v3.0.0-beta.1
|
||||
* Author: Colorlib
|
||||
|
@ -10275,14 +10276,14 @@ body,
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
.nav-sidebar .nav-treeview > .nav-item > .nav-link {
|
||||
padding: 0.5rem 0.5rem 0.5rem 1.5rem;
|
||||
}
|
||||
|
||||
.nav-sidebar .nav-treeview > .nav-item > .nav-link > .nav-icon {
|
||||
width: 1.6rem;
|
||||
}
|
||||
|
||||
.nav-sidebar.nav-child-indent .nav-treeview > .nav-item > .nav-link {
|
||||
padding: 0.5rem 0.5rem 0.5rem 1.5rem;
|
||||
}
|
||||
|
||||
.nav-sidebar .nav-header {
|
||||
font-size: .9rem;
|
||||
padding: 0.5rem;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue