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:
parent
e48f19309a
commit
e8a19597cb
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
padding-top: 100px + $gap;
|
||||
|
||||
@include tablet {
|
||||
padding-top: 64px + $gap;
|
||||
padding-top: 72px + $gap;
|
||||
}
|
||||
|
||||
&.is_blurred {
|
||||
|
|
|
@ -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