From f2164f09d4e0d0dfe4eeb610ba101043c97bbd0b Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 24 May 2022 13:45:00 -0400 Subject: [PATCH] Add d-screen Tailwind utility --- app/soapbox/components/loading-screen.tsx | 6 ++---- app/styles/application.scss | 4 ++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/soapbox/components/loading-screen.tsx b/app/soapbox/components/loading-screen.tsx index ffa1fa8f96..d132933a4f 100644 --- a/app/soapbox/components/loading-screen.tsx +++ b/app/soapbox/components/loading-screen.tsx @@ -9,11 +9,9 @@ const LoadingScreen: React.FC = () => {
-
+
{/* Bump up spinner vertically to counteract optical illusion. */} -
- -
+
); diff --git a/app/styles/application.scss b/app/styles/application.scss index 03f8ff65d5..660fb4a683 100644 --- a/app/styles/application.scss +++ b/app/styles/application.scss @@ -102,6 +102,10 @@ .shadow-inset { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%); } + + .d-screen { + height: 100dvh; + } } @import 'forms';