mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-17 04:47:02 +00:00
Adjust the breakpoint
This commit is contained in:
@@ -520,7 +520,7 @@ export class CallViewModel extends ViewModel {
|
||||
const height = window.innerHeight;
|
||||
const width = window.innerWidth;
|
||||
if (height <= 400 && width <= 340) return "pip";
|
||||
if (width <= 660) return "narrow";
|
||||
if (width <= 600) return "narrow";
|
||||
if (height <= 660) return "flat";
|
||||
return "normal";
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user