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> <LumeStatusProvider>
<NetworksProvider> <NetworksProvider>
<AuthProvider> <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 /> <App />
<Browser /> <Browser />
</main> </main>

View File

@ -346,7 +346,7 @@ export function Browser() {
ref={iframeRef} ref={iframeRef}
onLoad={handleIframeLoad} onLoad={handleIframeLoad}
src={url ? `/browse/${url}` : "about:blank"} 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> ></iframe>
</> </>
); );

View File

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