Fixed mobile burger
This commit is contained in:
parent
6b82d36f96
commit
7f2becb2fa
|
@ -48,6 +48,7 @@ export const Header = (props: Props) => {
|
|||
// effects
|
||||
createEffect(() => {
|
||||
document.body.classList.toggle('fixed', fixed() || modal() !== null)
|
||||
document.body.classList.toggle(styles.fixed, fixed() && !modal())
|
||||
})
|
||||
|
||||
// derived
|
||||
|
|
Loading…
Reference in New Issue
Block a user