Handle landscape mobile with cowebsite
This commit is contained in:
parent
68c626088d
commit
e216b6caf4
@ -163,7 +163,8 @@ class CoWebsiteManager {
|
||||
}
|
||||
|
||||
private isSmallScreen(): boolean {
|
||||
return window.matchMedia("(max-aspect-ratio: 1/1)").matches;
|
||||
return window.matchMedia("(max-aspect-ratio: 1/1)").matches ||
|
||||
window.matchMedia("(max-width:960px) and (max-height:768px)").matches;
|
||||
}
|
||||
|
||||
private initResizeListeners(touchMode: boolean) {
|
||||
|
Loading…
Reference in New Issue
Block a user