From 9cb566681e1a61472745a6056066a14a2acaa47e Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 12 May 2023 15:25:06 -0700 Subject: [PATCH] fix(ui): tweak footer padding and animation speed --- web/components/layouts/Main/Main.module.scss | 2 +- web/components/layouts/Main/Main.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/components/layouts/Main/Main.module.scss b/web/components/layouts/Main/Main.module.scss index 25918819d..43111fb4c 100644 --- a/web/components/layouts/Main/Main.module.scss +++ b/web/components/layouts/Main/Main.module.scss @@ -24,7 +24,7 @@ } .fadeIn { - animation: fadein 2s; + animation: fadein 0.5s; } @keyframes fadein { diff --git a/web/components/layouts/Main/Main.tsx b/web/components/layouts/Main/Main.tsx index 6c318fddf..905d941bb 100644 --- a/web/components/layouts/Main/Main.tsx +++ b/web/components/layouts/Main/Main.tsx @@ -62,7 +62,7 @@ export const Main: FC = () => { // accounts for sidebar width when online in desktop const showChat = online && !chatDisabled && isChatVisible; - const dynamicPadding = showChat && !isMobile ? '340px' : '0px'; + const dynamicFooterPadding = showChat && !isMobile ? '340px' : '20px'; useEffect(() => { setupNoLinkReferrer(layoutRef.current); @@ -200,7 +200,7 @@ export const Main: FC = () => { style={displayFooter ? { display: 'flex' } : { display: 'none' }} className={styles.fadeIn} > -