fix: browser view

This commit is contained in:
Juan Di Toro 2023-11-13 17:31:40 +01:00
parent 673b7553e0
commit 0ab9f438b6
3 changed files with 3 additions and 3 deletions

View File

@ -139,7 +139,7 @@ const Root = () => {
<LumeStatusProvider>
<NetworksProvider>
<AuthProvider>
<main className="bg-neutral-950 w-full min-h-screen h-full pt-2 pb-5">
<main className="flex flex-col bg-neutral-950 w-full min-h-screen h-full pt-2 pb-5">
<App />
<Browser />
</main>

View File

@ -346,7 +346,7 @@ export function Browser() {
ref={iframeRef}
onLoad={handleIframeLoad}
src={url ? `/browse/${url}` : "about:blank"}
className={`${shouldRenderStartPage ? "hidden" : ""} w-full h-full`}
className={`${shouldRenderStartPage ? "hidden" : ""} flex-1 w-full h-full -mb-5`}
></iframe>
</>
);

View File

@ -12,7 +12,7 @@ import "@/styles/globals.scss";
<meta name="generator" content={Astro.generator} />
<title>Web3 Browser - Powered By Lume Web</title>
</head>
<body class="min-h-screen p-0 m-0">
<body>
<App client:only="react" />
</body>
</html>