From d8b06c097b11f1ed86ca2c26081af2eeee0538c3 Mon Sep 17 00:00:00 2001 From: Mohammed Al-yaseen Date: Tue, 7 Oct 2025 12:24:40 +0300 Subject: [PATCH] fix scroll in the home page --- src/App.tsx | 9 ++++++++- src/index.css | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index fcb85b0..ccc9c67 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,4 +1,5 @@ import { App as AntdApp, ConfigProvider } from "antd"; +import "antd/dist/reset.css"; import { ScrollHandlerProvider } from "contexts/ScrollHandlerContext"; import { getDirection, LocalesMap } from "i18n/helper"; import { useEffect, useMemo } from "react"; @@ -40,7 +41,13 @@ function App() { > -
+
diff --git a/src/index.css b/src/index.css index 315f1f3..691706f 100644 --- a/src/index.css +++ b/src/index.css @@ -47,7 +47,7 @@ body, .ant-app { max-width: 100vw; max-height: 100vh; - /* overflow: hidden; */ + overflow: hidden; } body {