fix(ui): tweak footer padding and animation speed
This commit is contained in:
parent
0a4dd39b82
commit
9cb566681e
@ -24,7 +24,7 @@
|
||||
}
|
||||
|
||||
.fadeIn {
|
||||
animation: fadein 2s;
|
||||
animation: fadein 0.5s;
|
||||
}
|
||||
|
||||
@keyframes fadein {
|
||||
|
@ -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}
|
||||
>
|
||||
<Footer version={version} dynamicPadding={dynamicPadding} />
|
||||
<Footer version={version} dynamicPadding={dynamicFooterPadding} />
|
||||
</div>
|
||||
</Layout>
|
||||
<Noscript />
|
||||
|
Loading…
Reference in New Issue
Block a user