Fixes sticky header

This commit is contained in:
Andy Tudhope 2019-04-13 09:09:36 +02:00
parent 5cc9a8359e
commit d87c2aef61
No known key found for this signature in database
GPG Key ID: 02A3DFA93BF26AD2
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
display: flex;
align-items: center;
padding: calculateRem(15);
z-index: 99;
&.active {
box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.25);

View File

@ -18,7 +18,7 @@ class Dapps extends React.Component {
componentDidMount() {
this.scanHeaderPositions()
this.boundScroll = debounce(this.handleScroll.bind(this), 50)
this.boundScroll = debounce(this.handleScroll.bind(this), 1)
window.addEventListener('scroll', this.boundScroll)
}