From 2f73316104f7c95f8860c980a0423a65bc0f3d32 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Tue, 16 May 2023 20:05:56 +0200 Subject: [PATCH] FIX: followups to composer notch adjustments (#21592) We had safe-area-inset-bottom still set at a wrong place which was causing issues but was also useful to some cases. This commit removes it and ensures the affected cases are corrected. --- plugins/chat/assets/stylesheets/common/base-common.scss | 1 - plugins/chat/assets/stylesheets/common/chat-browse.scss | 2 +- plugins/chat/assets/stylesheets/common/chat-tabs.scss | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/chat/assets/stylesheets/common/base-common.scss b/plugins/chat/assets/stylesheets/common/base-common.scss index e59eb9f5ec6..8635e61f10a 100644 --- a/plugins/chat/assets/stylesheets/common/base-common.scss +++ b/plugins/chat/assets/stylesheets/common/base-common.scss @@ -592,7 +592,6 @@ html.has-full-page-chat { .full-page-chat { height: 100%; min-height: 0; - padding-bottom: env(safe-area-inset-bottom); } .main-chat-outlet { diff --git a/plugins/chat/assets/stylesheets/common/chat-browse.scss b/plugins/chat/assets/stylesheets/common/chat-browse.scss index 7199ffad249..b7934c3af8c 100644 --- a/plugins/chat/assets/stylesheets/common/chat-browse.scss +++ b/plugins/chat/assets/stylesheets/common/chat-browse.scss @@ -1,7 +1,7 @@ .chat-browse-view { position: relative; box-sizing: border-box; - padding: 1rem; + padding: 1rem 1rem env(safe-area-inset-bottom) 1rem; &__header { display: flex; diff --git a/plugins/chat/assets/stylesheets/common/chat-tabs.scss b/plugins/chat/assets/stylesheets/common/chat-tabs.scss index fe49815231b..70262b2a580 100644 --- a/plugins/chat/assets/stylesheets/common/chat-tabs.scss +++ b/plugins/chat/assets/stylesheets/common/chat-tabs.scss @@ -8,6 +8,7 @@ .chat-tabs__tabpanel { height: 100%; min-height: 1px; + padding-bottom: env(safe-area-inset-bottom); } .chat-tabs-list {