1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

fixed mobile header breakpoint

This commit is contained in:
Fedor Katurov 2019-11-25 17:55:40 +07:00
parent e48f19309a
commit e8a19597cb
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
padding-top: 100px + $gap;
@include tablet {
padding-top: 64px + $gap;
padding-top: 72px + $gap;
}
&.is_blurred {

View file

@ -39,7 +39,7 @@ const HeaderUnconnected: FC<IProps> = memo(
const onProfileClick = useCallback(() => authOpenProfile(username), [authOpenProfile, user]);
const onScroll = useCallback(() => {
const active = window.scrollY > 64;
const active = window.scrollY > 32;
if (active !== is_scrolled) setIsScrolled(active);
}, [is_scrolled, setIsScrolled]);