Design stuff shit
This commit is contained in:
parent
5dbf3d9af2
commit
23aefa268a
35 changed files with 5846 additions and 68 deletions
6
frontend-reactive/app/helpers/isLandscape.ts
Normal file
6
frontend-reactive/app/helpers/isLandscape.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
export default function isLandscape(): boolean {
|
||||
return (
|
||||
Math.min(screen.availHeight, window.innerHeight) <
|
||||
Math.min(screen.availWidth, window.innerWidth)
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue