mirror of
https://github.com/tabler/tabler.git
synced 2026-08-01 16:04:37 +04:00
sidenav fixes
This commit is contained in:
+11
-12
@@ -6,6 +6,7 @@ Sidebar
|
||||
min-width: 16rem;
|
||||
background: $sidenav-bg;
|
||||
border-right: 1px solid $sidenav-border-color;
|
||||
user-select: none;
|
||||
|
||||
.nav-link {
|
||||
display: flex;
|
||||
@@ -20,13 +21,13 @@ Sidebar
|
||||
}
|
||||
|
||||
> .icon {
|
||||
min-width: 2rem;
|
||||
width: 2rem;
|
||||
}
|
||||
|
||||
&[data-toggle="collapse"] {
|
||||
&:after {
|
||||
display: block;
|
||||
font-family: 'Feather' !important;
|
||||
font-family: $font-icons !important;
|
||||
content: $icon-fe-chevron-down;
|
||||
margin-left: auto;
|
||||
transition: transform .3s;
|
||||
@@ -38,25 +39,23 @@ Sidebar
|
||||
}
|
||||
}
|
||||
|
||||
.nav-item .nav-item {
|
||||
padding-left: 2rem;
|
||||
|
||||
.nav-item {
|
||||
padding-left: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
//.navbar-divider {
|
||||
//
|
||||
//}
|
||||
|
||||
.navbar-heading {
|
||||
padding: .5rem 0;
|
||||
margin: 0;
|
||||
@extend .text-subheader;
|
||||
}
|
||||
|
||||
.nav {
|
||||
.nav-item {
|
||||
padding-left: 2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user