Revert "fix scroll in the home page"

This reverts commit d8b06c097b.
This commit is contained in:
2025-10-09 00:20:39 +03:00
parent dea9a59127
commit 373a1497d4
2 changed files with 2 additions and 9 deletions

View File

@@ -1,5 +1,4 @@
import { App as AntdApp, ConfigProvider } from "antd"; import { App as AntdApp, ConfigProvider } from "antd";
import "antd/dist/reset.css";
import { ScrollHandlerProvider } from "contexts/ScrollHandlerContext"; import { ScrollHandlerProvider } from "contexts/ScrollHandlerContext";
import { getDirection, LocalesMap } from "i18n/helper"; import { getDirection, LocalesMap } from "i18n/helper";
import { useEffect, useMemo } from "react"; import { useEffect, useMemo } from "react";
@@ -41,13 +40,7 @@ function App() {
> >
<ScrollHandlerProvider> <ScrollHandlerProvider>
<AntdApp> <AntdApp>
<div <div className={`${themeName}App`}>
className={`${themeName}App`}
style={{
height: "100vh",
overflow: "auto",
}}
>
<RouterProvider router={router} /> <RouterProvider router={router} />
</div> </div>
</AntdApp> </AntdApp>

View File

@@ -48,7 +48,7 @@ body,
.ant-app { .ant-app {
max-width: 100vw; max-width: 100vw;
max-height: 100vh; max-height: 100vh;
overflow: hidden; /* overflow: hidden; */
} }
body { body {