default sidebar collapse mobile

This commit is contained in:
2023-05-21 13:56:42 +02:00
parent 7eeedd0eeb
commit 6dd8c2d524
4 changed files with 24 additions and 6 deletions

View File

@@ -19,3 +19,5 @@ export const getAllMatches = (regex: RegExp, input: string): RegExpExecArray[] =
} while (m)
return matches
}
export const windowIsMobile = () => window.innerWidth < 640