FIX: chat height was incorrect on ipad (#21289)

This commit is contained in:
Joffrey JAFFEUX 2023-04-28 10:51:23 +02:00 committed by GitHub
parent f29f131387
commit e4029bfab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 9 deletions

View File

@ -617,6 +617,14 @@ html.has-full-page-chat {
grid-template-rows: calc(
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%;

View File

@ -1,8 +0,0 @@
.chat-composer-container {
.chat-composer {
margin: 0.25rem 5px 0 5px;
}
html.keyboard-visible .footer-nav-ipad & {
margin: 0.25rem 10px 1rem 10px;
}
}

View File

@ -1,7 +1,6 @@
@import "base-desktop";
@import "chat-channel-title";
@import "chat-composer-uploads";
@import "chat-composer";
@import "chat-index-drawer";
@import "chat-index-full-page";
@import "chat-message-actions";