mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed mobile header breakpoint
This commit is contained in:
parent
e48f19309a
commit
e8a19597cb
2 changed files with 2 additions and 2 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue