Merge branch 'dvh' into 'develop'
d-screen: fall back to h-screen See merge request soapbox-pub/soapbox-fe!1447
This commit is contained in:
commit
ff7753cb42
2 changed files with 5 additions and 2 deletions
|
@ -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>
|
||||
);
|
||||
|
|
|
@ -104,6 +104,8 @@
|
|||
}
|
||||
|
||||
.d-screen {
|
||||
height: 100vh; // Backwards compatibility
|
||||
/* stylelint-disable-next-line unit-no-unknown */
|
||||
height: 100dvh;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue