d-screen: fall back to h-screen

This commit is contained in:
Alex Gleason 2022-05-24 15:31:46 -04:00
parent 7902908504
commit 66a113b61a
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
2 changed files with 5 additions and 2 deletions

View file

@ -10,8 +10,9 @@ const LoadingScreen: React.FC = () => {
<LandingGradient />
<div className='fixed d-screen w-screen flex items-center justify-center z-10'>
{/* Bump up spinner vertically to counteract optical illusion. */}
<Spinner size={40} withText={false} />
<div className='p-4'>
<Spinner size={40} withText={false} />
</div>
</div>
</div>
);

View file

@ -104,6 +104,8 @@
}
.d-screen {
height: 100vh; // Backwards compatibility
/* stylelint-disable-next-line unit-no-unknown */
height: 100dvh;
}
}