From 353788aac2a889c288b59da90b730cd467fff8aa Mon Sep 17 00:00:00 2001 From: udoy2 Date: Sat, 14 Sep 2024 12:31:02 +0600 Subject: [PATCH] Refactor media query for Works component to support larger screen sizes --- src/components/Works.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Works.jsx b/src/components/Works.jsx index 7d59afe..93bd5eb 100644 --- a/src/components/Works.jsx +++ b/src/components/Works.jsx @@ -125,7 +125,7 @@ const Works = () => { const [isMobile, setisMobile] = useState(false); useEffect(() => { - const mediaQuery = window.matchMedia('(max-width: 751px)'); + const mediaQuery = window.matchMedia('(max-width: 1000px)'); setisMobile(mediaQuery.matches); const handleMediaQueryChange = (event) => {