1
0
mirror of https://github.com/minio/docs.git synced 2025-07-27 08:41:57 +03:00

Update header and other related style properties

This commit is contained in:
Rushan
2022-01-31 12:08:40 +04:00
committed by Ravind Kumar
parent 873847ad3d
commit d602ed5b68
10 changed files with 971 additions and 687 deletions

View File

@ -26,7 +26,7 @@ window.addEventListener("DOMContentLoaded", (event) => {
// Toggle Sidebars
$('body').on('click', '[data-toggle]', function() {
var target = $(this).attr('data-toggle');
target === 'sidebar' ? $('body').removeClass('nav-toggled') : $('body').removeClass('sidebar-toggled');
$('body').toggleClass(target + '-toggled');
target === 'sidebar' ? $('body').removeClass('nav-active') : $('body').removeClass('sidebar-active');
$('body').toggleClass(target + '-active');
});
});