fix: use svh instead of vh
This commit is contained in:
@@ -32,7 +32,7 @@ export const Boot = () => {
|
||||
}, [setState, line]);
|
||||
|
||||
return (
|
||||
<main className="h-screen w-screen bg-black text-white">
|
||||
<main className="h-[100svh] w-screen bg-black text-white">
|
||||
{LINES.filter((_, i) => i <= line).map((line, i) => (
|
||||
<p key={i}>{line}</p>
|
||||
))}
|
||||
|
||||
@@ -20,7 +20,7 @@ export const Off = () => {
|
||||
}, [state, setState, booting]);
|
||||
|
||||
return (
|
||||
<div className="flex h-screen w-screen flex-col items-center justify-center bg-black">
|
||||
<div className="flex h-[100svh] w-screen flex-col items-center justify-center bg-black">
|
||||
<button
|
||||
className={`drop-shadow-white cursor-pointer transition-all ${
|
||||
booting ? "animate-disappear" : "animate-breathing"
|
||||
|
||||
Reference in New Issue
Block a user