aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-18 02:39:37 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-18 02:39:37 +0800
commit5209729eb1e3a0d0fef18bd2d03207cc2544c87d (patch)
tree27969e1b09f8b70697558e2b02a8b6c35bdbdd82 /packages/website/ts/@next/components
parent31bbb0696ccfe8f8b671ac2b2c3f18ec956cd46d (diff)
downloaddexon-sol-tools-5209729eb1e3a0d0fef18bd2d03207cc2544c87d.tar
dexon-sol-tools-5209729eb1e3a0d0fef18bd2d03207cc2544c87d.tar.gz
dexon-sol-tools-5209729eb1e3a0d0fef18bd2d03207cc2544c87d.tar.bz2
dexon-sol-tools-5209729eb1e3a0d0fef18bd2d03207cc2544c87d.tar.lz
dexon-sol-tools-5209729eb1e3a0d0fef18bd2d03207cc2544c87d.tar.xz
dexon-sol-tools-5209729eb1e3a0d0fef18bd2d03207cc2544c87d.tar.zst
dexon-sol-tools-5209729eb1e3a0d0fef18bd2d03207cc2544c87d.zip
Increase header tolerances
Diffstat (limited to 'packages/website/ts/@next/components')
-rw-r--r--packages/website/ts/@next/components/header.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/header.tsx b/packages/website/ts/@next/components/header.tsx
index cc68739ed..544a7daf1 100644
--- a/packages/website/ts/@next/components/header.tsx
+++ b/packages/website/ts/@next/components/header.tsx
@@ -78,7 +78,7 @@ class HeaderBase extends React.Component<HeaderProps> {
const { isNavToggled, toggleMobileNav, theme } = this.props;
return (
- <Headroom onUnpin={this.onUnpin}>
+ <Headroom onUnpin={this.onUnpin} downTolerance={4} upTolerance={10}>
<StyledHeader isNavToggled={isNavToggled}>
<HeaderWrap>
<ReactRouterLink to={WebsitePaths.Home}>