From 25477443ef2bb205e97600eee7f248bd0eddf32a Mon Sep 17 00:00:00 2001 From: Justin Date: Mon, 9 May 2022 08:27:26 -0400 Subject: [PATCH] Fix unauth page layout --- app/index.ejs | 2 +- app/soapbox/containers/soapbox.tsx | 4 +- app/soapbox/features/auth_layout/index.tsx | 65 +++++++++++----------- 3 files changed, 36 insertions(+), 35 deletions(-) diff --git a/app/index.ejs b/app/index.ejs index 915b22ea13..495eeaff72 100644 --- a/app/index.ejs +++ b/app/index.ejs @@ -12,7 +12,7 @@ <%= snippets %> -
+
diff --git a/app/soapbox/containers/soapbox.tsx b/app/soapbox/containers/soapbox.tsx index ffc19ad214..e14ffb9664 100644 --- a/app/soapbox/containers/soapbox.tsx +++ b/app/soapbox/containers/soapbox.tsx @@ -132,7 +132,7 @@ const SoapboxMount = () => { const waitlisted = account && !account.source.get('approved', true); - const bodyClass = classNames('bg-white dark:bg-slate-900 text-base', { + const bodyClass = classNames('bg-white dark:bg-slate-900 text-base h-full', { 'no-reduce-motion': !settings.get('reduceMotion'), 'underline-links': settings.get('underlineLinks'), 'dyslexic': settings.get('dyslexicFont'), @@ -162,7 +162,7 @@ const SoapboxMount = () => { return ( - + {themeCss && } diff --git a/app/soapbox/features/auth_layout/index.tsx b/app/soapbox/features/auth_layout/index.tsx index adc436f6c1..d32038b8b8 100644 --- a/app/soapbox/features/auth_layout/index.tsx +++ b/app/soapbox/features/auth_layout/index.tsx @@ -20,44 +20,45 @@ const AuthLayout = () => { const siteTitle = useAppSelector(state => state.instance.title); return ( -
+
-
-
- - {logo ? ( - {siteTitle} - ) : ( - - )} - -
+
+
+
+ + {logo ? ( + {siteTitle} + ) : ( + + )} + +
-
-
- - - - - - - - - +
+
+ + + + + + + + + - - - - - + + + + + +
-