mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
change header style
This commit is contained in:
@@ -23,7 +23,7 @@ export const Header = ({root}) => {
|
||||
const [hide, setHide] = useState(false);
|
||||
|
||||
const onScroll = (y) => {
|
||||
if (y > 3) {
|
||||
if (y > 150) {
|
||||
setHide(false);
|
||||
} else {
|
||||
setHide(true);
|
||||
|
||||
Reference in New Issue
Block a user