From c44dba0f64cd799d570ccb9c53a8919cd9d8e072 Mon Sep 17 00:00:00 2001 From: Felix Thape Date: Thu, 28 Mar 2024 16:27:56 +0100 Subject: [PATCH] fix: fix width changes not being detected --- tasks/components/layout/TwoColumn.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/components/layout/TwoColumn.tsx b/tasks/components/layout/TwoColumn.tsx index 81ab8168..c54ffc81 100644 --- a/tasks/components/layout/TwoColumn.tsx +++ b/tasks/components/layout/TwoColumn.tsx @@ -102,6 +102,7 @@ export const TwoColumn = ({ const handleWindowResize = () => { setScrollbarsBarMaxHeight(window.innerHeight - headerHeight) + setFullWidth(window.innerWidth) } useEffect(() => {