From 6b9df7530a5ffac29e394df81fd2c84c83b51bf4 Mon Sep 17 00:00:00 2001 From: leizhe Date: Thu, 13 Jan 2022 13:39:56 +0800 Subject: [PATCH] fix weird top-padding when editing on iPhone --- src/main/frontend/components/header.css | 2 +- src/main/frontend/ui.css | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/main/frontend/components/header.css b/src/main/frontend/components/header.css index e990f0357..393bea9f7 100644 --- a/src/main/frontend/components/header.css +++ b/src/main/frontend/components/header.css @@ -209,7 +209,7 @@ html.is-native-ipad { #main-content-container { padding-top: 0px; - height: calc(100vh - var(--ls-headbar-height)); + height: calc(100vh - var(--ls-headbar-inner-top-padding) - var(--ls-headbar-height)); } .cp__header > .r { diff --git a/src/main/frontend/ui.css b/src/main/frontend/ui.css index dabea63b9..c71b0be90 100644 --- a/src/main/frontend/ui.css +++ b/src/main/frontend/ui.css @@ -138,15 +138,6 @@ } } -html.is-native-ios, -html.is-native-android { - .ui__modal { - &-panel { - min-height: 420px; - } - } -} - html.is-native-andorid, html.is-native-iphone, html.is-native-iphone-without-notch