fix: Change siderbar to use innerWidth instead of outerWidth (#18727)

This commit is contained in:
shortstacked
2025-08-25 11:48:45 +01:00
committed by GitHub
parent 0488ea3e8d
commit 4206b4ab50

View File

@@ -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;