FIX: correct sidebar and chat height on DiscourseHub (#20323)

Before that change, footer of the sidebar was not visible.
Footer is very important, especially now, when add custom section button is located there.
Also, distance between chat input and keyboard were increased
This commit is contained in:
Krzysztof Kotlarek 2023-02-16 15:59:09 +11:00 committed by GitHub
parent c0a086a988
commit 1a5f6aefc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,7 @@
.footer-nav-ipad & {
top: calc(var(--header-offset) + var(--footer-nav-height));
height: calc(100vh - var(--header-offset, 0) - var(--footer-nav-height, 0));
}
height: calc(100vh - var(--header-offset, 0));
align-self: start;

View File

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