unpin sidebar when resizing to larger screen
All checks were successful
Build and Push Docker Image / build (push) Successful in 14s
All checks were successful
Build and Push Docker Image / build (push) Successful in 14s
This commit is contained in:
parent
1073309646
commit
170c06ccab
@ -289,6 +289,7 @@ $(".sidebar-backdrop").on("click", () => setSidebarVisibility(false));
|
||||
$(window).on('resize', () => {
|
||||
// Can't pass conditional directly, causes flickering effect
|
||||
if (getSidebarVisibility() && $(window).width() > 992) {
|
||||
setSidebarPinned(false);
|
||||
setSidebarVisibility(false);
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user