diff --git a/components/BottomDrawer/index.tsx b/components/BottomDrawer/index.tsx index d053f7ae..d1c18c2c 100644 --- a/components/BottomDrawer/index.tsx +++ b/components/BottomDrawer/index.tsx @@ -9,7 +9,7 @@ const Index = ({ children }) => { return ( { if (!open) setBottomDrawerOpen(false); }} diff --git a/components/DelegatingWidget/Input.tsx b/components/DelegatingWidget/Input.tsx index b1fe3507..5f0d0015 100644 --- a/components/DelegatingWidget/Input.tsx +++ b/components/DelegatingWidget/Input.tsx @@ -88,7 +88,7 @@ const Input = ({ type="number" min="0" step="any" - autoFocus={width > 1020} + autoFocus={width >= 1200} value={value} onChange={onChange} css={{ diff --git a/layouts/account.tsx b/layouts/account.tsx index c73ebb64..67dcc43a 100644 --- a/layouts/account.tsx +++ b/layouts/account.tsx @@ -290,7 +290,7 @@ const AccountLayout = ({ {view === "history" && } {(isOrchestrator || isMyDelegate || isDelegatingAndIsMyAccountView) && - (width > 1020 ? ( + (width >= 1200 ? ( { }, [isReady, isBannerDisabledByQuery]); useEffect(() => { - if (width > 1020) { + if (width >= 1200) { document.body.removeAttribute("style"); } - if (width < 1020 && drawerOpen) { + if (width < 1200 && drawerOpen) { document.body.style.overflow = "hidden"; } }, [drawerOpen, width]); diff --git a/pages/voting/[poll].tsx b/pages/voting/[poll].tsx index 90915f18..2896fab5 100644 --- a/pages/voting/[poll].tsx +++ b/pages/voting/[poll].tsx @@ -340,7 +340,7 @@ const Poll = () => { - {width > 1200 ? ( + {width >= 1200 ? (