fix(mobile): dynamic height for bg color

This commit is contained in:
Cozma Rares
2023-08-09 16:33:57 +03:00
parent 641739e892
commit bbca310550
+4 -3
View File
@@ -40,9 +40,10 @@ const router = createBrowserRouter([
// React's StricMode doesn't play well with how I implemented the socket connection
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
<>
<div className="absolute top-0 left-0 right-0 bottom-0 w-full h-full bg-zinc-200 -z-50"></div>
<div className="z-0">
<RouterProvider router={router} />
<div className="w-full h-[100dvh] bg-zinc-200">
<div className="z-0">
<RouterProvider router={router} />
</div>
</div>
</>
);