sforkowany z mirror/soapbox
Add d-screen Tailwind utility
rodzic
2b7f4694da
commit
f2164f09d4
|
@ -9,13 +9,11 @@ const LoadingScreen: React.FC = () => {
|
||||||
<div className='fixed h-screen w-screen'>
|
<div className='fixed h-screen w-screen'>
|
||||||
<LandingGradient />
|
<LandingGradient />
|
||||||
|
|
||||||
<div className='fixed h-screen w-screen flex items-center justify-center z-10'>
|
<div className='fixed d-screen w-screen flex items-center justify-center z-10'>
|
||||||
{/* Bump up spinner vertically to counteract optical illusion. */}
|
{/* Bump up spinner vertically to counteract optical illusion. */}
|
||||||
<div className='-translate-y-3/4'>
|
|
||||||
<Spinner size={40} withText={false} />
|
<Spinner size={40} withText={false} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -102,6 +102,10 @@
|
||||||
.shadow-inset {
|
.shadow-inset {
|
||||||
box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%);
|
box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.d-screen {
|
||||||
|
height: 100dvh;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@import 'forms';
|
@import 'forms';
|
||||||
|
|
Ładowanie…
Reference in New Issue