Make sure dialogs are displayed full screen on mobiles landscape-oriented (#5350)

This commit is contained in:
AlexandreS
2023-05-25 14:54:45 +02:00
committed by GitHub
parent 24ff670886
commit e2397cb0a4

View File

@@ -27,7 +27,7 @@ export const useResponsiveWindowWidth = (): WidthType => {
return 'medium';
}
return window.innerWidth < 750 || window.innerHeight < 350
return window.innerWidth < 950 || window.innerHeight < 350
? 'small'
: window.innerWidth < 1150
? 'medium'