web ui: update js and css deps

This commit is contained in:
Nicola Murino
2020-12-26 18:47:09 +01:00
parent 80c06d6b59
commit 3d2da88da9
14 changed files with 265 additions and 450 deletions

View File

@@ -15,6 +15,13 @@
if ($(window).width() < 768) {
$('.sidebar .collapse').collapse('hide');
};
// Toggle the side navigation when window is resized below 480px
if ($(window).width() < 480 && !$(".sidebar").hasClass("toggled")) {
$("body").addClass("sidebar-toggled");
$(".sidebar").addClass("toggled");
$('.sidebar .collapse').collapse('hide');
};
});
// Prevent the content wrapper from scrolling when the fixed side navigation hovered over