From 6f6e8263988829f9d2356a2bec87f669681ed4a7 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 7 Sep 2020 06:50:06 -0400 Subject: #967 notch --- www/css/style.css | 11 ++++++++++- www/templates/devoptions.html | 2 +- www/templates/events-date-time-filter.html | 2 +- www/templates/events-modal.html | 2 +- www/templates/events-modalgraph.html | 2 +- www/templates/events-popover.html | 2 +- www/templates/events.html | 2 +- www/templates/eventserversettings.html | 2 +- www/templates/help.html | 2 +- www/templates/image-modal.html | 2 +- www/templates/important_message.html | 2 +- www/templates/invalidapi.html | 2 +- www/templates/log.html | 2 +- www/templates/login.html | 2 +- www/templates/lowversion.html | 2 +- www/templates/menu.html | 2 +- www/templates/moment-mask.html | 2 +- www/templates/moment-popover.html | 2 +- www/templates/moment.html | 2 +- www/templates/monitors-modal.html | 2 +- www/templates/monitors.html | 2 +- www/templates/montage-history.html | 2 +- www/templates/montage.html | 2 +- www/templates/news.html | 2 +- www/templates/reorder-modal.html | 2 +- www/templates/state.html | 2 +- www/templates/timeline-modal.html | 2 +- www/templates/timeline-popover.html | 2 +- www/templates/timeline.html | 2 +- www/templates/wizard.html | 2 +- www/templates/zm-portal-login.html | 2 +- 31 files changed, 40 insertions(+), 31 deletions(-) diff --git a/www/css/style.css b/www/css/style.css index 3b9d8160..c7670e58 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -1946,9 +1946,18 @@ body { font-family: sans-serif; height:100%; padding-top: constant(safe-area-inset-top); -} + padding-top: env(safe-area-inset-top); + +} +.notch-ready { + margin-left: constant(safe-area-inset-left); + margin-left: env(safe-area-inset-left); + + margin-right: constant(safe-area-inset-right); + margin-right: env(safe-area-inset-right); +} * { font-family: -apple-system, "Helvetica Neue", sans-serif; diff --git a/www/templates/devoptions.html b/www/templates/devoptions.html index 68f605cd..44825a20 100644 --- a/www/templates/devoptions.html +++ b/www/templates/devoptions.html @@ -8,7 +8,7 @@ - +
{{'kDeveloperOptionsFor'|translate}} diff --git a/www/templates/events-date-time-filter.html b/www/templates/events-date-time-filter.html index 9d7b765d..ad198746 100644 --- a/www/templates/events-date-time-filter.html +++ b/www/templates/events-date-time-filter.html @@ -1,5 +1,5 @@ - +