1
0
Fork 0

feat(fs.dev): Hide navbar when scrolling

This commit is contained in:
Joost De Cock 2021-12-30 17:56:04 +01:00
parent 43a89a85ad
commit c065e6ec23
2 changed files with 44 additions and 15 deletions

View file

@ -76,12 +76,6 @@ const DefaultLayout = ({ app, title=false, children=[]}) => {
bg-base-100
`}>
<Header app={app}/>
<div className={`
h-1 w-full theme-gradient ${app.loading ? 'loading' : ''}
fixed top-0 right-0 z-40
-mt-1
hidden sm:block
`}></div>
<main className={`
grow flex flex-row
gap-2