From e66f6402343aa399379b71912142e493f01605c2 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Tue, 2 May 2023 23:00:16 +0200 Subject: [PATCH] FIX: ensures page height is correct on ipad + hub (#21345) The previous style was not being in each case, this should correctly fix it. --- .../assets/stylesheets/common/base-common.scss | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/plugins/chat/assets/stylesheets/common/base-common.scss b/plugins/chat/assets/stylesheets/common/base-common.scss index 464002d67be..c81fbae3ac3 100644 --- a/plugins/chat/assets/stylesheets/common/base-common.scss +++ b/plugins/chat/assets/stylesheets/common/base-common.scss @@ -582,6 +582,15 @@ html.has-full-page-chat { height: 100%; width: 100%; + &.footer-nav-ipad { + #main-outlet-wrapper { + grid-template-rows: calc( + var(--chat-vh, 1vh) * 100 - var(--header-offset, 0px) - + var(--footer-nav-height, 0px) + ); + } + } + #main-outlet { display: flex; flex-direction: column; @@ -618,13 +627,6 @@ html.has-full-page-chat { var(--chat-vh, 1vh) * 100 - var(--header-offset, 0px) ); - .footer-nav-ipad & { - grid-template-rows: calc( - var(--chat-vh, 1vh) * 100 - var(--header-offset, 0px) - - var(--footer-nav-height, 0px) - ); - } - .sidebar-wrapper { // prevents sidebar from overflowing behind the virtual keyboard height: 100%;