From fc4e634fe5bbda6629d1d7ed201509cf15729674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Fri, 10 Feb 2023 14:13:55 +0100 Subject: [PATCH] Update condition for when sidebar is mobile --- lib/vue/src/components/navigation/CSidebar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vue/src/components/navigation/CSidebar.vue b/lib/vue/src/components/navigation/CSidebar.vue index 612113772..7baf5dfc2 100644 --- a/lib/vue/src/components/navigation/CSidebar.vue +++ b/lib/vue/src/components/navigation/CSidebar.vue @@ -214,7 +214,7 @@ export default { }, isMobile () { - return window.innerWidth < 576 + return window.innerWidth < 1024 || /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) }, },