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