mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix: Change siderbar to use innerWidth instead of outerWidth (#18727)
This commit is contained in:
@@ -367,7 +367,7 @@ function onResize() {
|
||||
}
|
||||
|
||||
async function onResizeEnd() {
|
||||
if (window.outerWidth < 900) {
|
||||
if (window.innerWidth < 900) {
|
||||
uiStore.sidebarMenuCollapsed = true;
|
||||
} else {
|
||||
uiStore.sidebarMenuCollapsed = uiStore.sidebarMenuCollapsedPreference;
|
||||
|
||||
Reference in New Issue
Block a user