From f093946a2975a575ac33a4ee0e8c3115fa420d71 Mon Sep 17 00:00:00 2001 From: Robin Date: Tue, 21 Apr 2026 13:12:27 +0200 Subject: [PATCH] Allow calls to display edge-to-edge on mobile By adding viewport-fit=cover to the header, the page now requests to be displayed edge-to-edge across the entire screen. This gives us control over what we display around camera cut-outs and system navigation UI, if the user agent supports it. I then adjusted the styles of various UI elements to ensure that they still lie within the screen's safe area. --- index.html | 2 +- src/AppBar.module.css | 3 +-- src/Header.module.css | 4 +++- src/components/CallFooter.module.css | 16 ++++++++++++---- src/components/CallFooter.stories.tsx | 2 ++ src/grid/Grid.tsx | 20 +++++++++++++++++--- src/grid/GridLayout.module.css | 5 +++-- src/grid/SpotlightExpandedLayout.module.css | 6 +++++- src/index.css | 18 ++++++++++++++---- src/room/CallEndedView.module.css | 3 ++- src/room/VideoPreview.module.css | 6 ++++-- src/tile/SpotlightTile.module.css | 6 ++++++ 12 files changed, 70 insertions(+), 21 deletions(-) diff --git a/index.html b/index.html index f17c73c0..f3177a48 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ <%- brand %>