fixed sidebar menu tree dropdown always open

- added code from #2001 thanks @CoderSquirrel

Closes #1854 & #2001
pull/2125/head
REJack 6 years ago
parent 2226c0e7cf
commit b2e020413d
No known key found for this signature in database
GPG Key ID: 9F3976CC630CC888

@ -1,4 +1,4 @@
// Tree view menu
// Tree view menu
.treeview-menu {
display: none;
list-style: none;
@ -27,4 +27,19 @@
}
}
}
}
.treeview {
> ul.treeview-menu {
overflow: hidden;
height:0px;
padding-top:0px !important;
padding-bottom: 0px !important;
}
}
.treeview.menu-open {
> ul.treeview-menu {
overflow: visible;
height:auto;
}
}

@ -3096,6 +3096,16 @@ table.text-center th {
.treeview-menu > li > a > .fa-angle-down {
width: auto;
}
.treeview > ul.treeview-menu {
overflow: hidden;
height: 0px;
padding-top: 0px !important;
padding-bottom: 0px !important;
}
.treeview.menu-open > ul.treeview-menu {
overflow: visible;
height: auto;
}
/*
* Page: Mailbox
* -------------

File diff suppressed because one or more lines are too long

@ -3096,6 +3096,16 @@ table.text-center th {
.treeview-menu > li > a > .fa-angle-down {
width: auto;
}
.treeview > ul.treeview-menu {
overflow: hidden;
height: 0px;
padding-top: 0px !important;
padding-bottom: 0px !important;
}
.treeview.menu-open > ul.treeview-menu {
overflow: visible;
height: auto;
}
/*
* Page: Mailbox
* -------------

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save