fix: force set astro-island css to fix iframe height
This commit is contained in:
parent
2a4e5fd4d0
commit
4ea8e7b35a
|
@ -11,10 +11,17 @@ import "@/styles/globals.scss";
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<meta name="generator" content={Astro.generator} />
|
<meta name="generator" content={Astro.generator} />
|
||||||
<title>Astro</title>
|
<title>Astro</title>
|
||||||
|
<style>
|
||||||
|
main astro-island {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
height: 89vh;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<App client:only="react" class="w-full h-full" />
|
<App client:only="react" />
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue