From e8a19597cbbf8c4a10ec2b9417feee3f9912c2c2 Mon Sep 17 00:00:00 2001 From: Fedor Katurov <gotham48@gmail.com> Date: Mon, 25 Nov 2019 17:55:40 +0700 Subject: [PATCH] fixed mobile header breakpoint --- src/components/containers/BlurWrapper/styles.scss | 2 +- src/components/main/Header/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/containers/BlurWrapper/styles.scss b/src/components/containers/BlurWrapper/styles.scss index 7347e452..d6ced2d2 100644 --- a/src/components/containers/BlurWrapper/styles.scss +++ b/src/components/containers/BlurWrapper/styles.scss @@ -5,7 +5,7 @@ padding-top: 100px + $gap; @include tablet { - padding-top: 64px + $gap; + padding-top: 72px + $gap; } &.is_blurred { diff --git a/src/components/main/Header/index.tsx b/src/components/main/Header/index.tsx index 23a16b16..2010cd28 100644 --- a/src/components/main/Header/index.tsx +++ b/src/components/main/Header/index.tsx @@ -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]);