mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-27 02:40:39 +01:00
fixes to main menu
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
overflow-y: auto;
|
||||
|
||||
.nano-content {
|
||||
top: 13px;
|
||||
top: 51px !important;
|
||||
}
|
||||
|
||||
.sidebar-nav {
|
||||
|
||||
@@ -33,6 +33,9 @@ define('forum/admin/footer', ['forum/admin/settings'], function(Settings) {
|
||||
function setupMainMenu() {
|
||||
$('.sidebar-nav .nav-header').on('click', function() {
|
||||
$(this).parents('.sidebar-nav').toggleClass('open');
|
||||
setTimeout(function() {
|
||||
$('.nano').nanoScroller();
|
||||
}, 500); // replace with animationend event
|
||||
});
|
||||
|
||||
$('.nano').nanoScroller();
|
||||
|
||||
Reference in New Issue
Block a user