fix: browser view
This commit is contained in:
parent
673b7553e0
commit
0ab9f438b6
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue