Skip to content

A platform for community discussion. Free, open, simple.

UX: Fix height of chat index page on mobile after removing sidebar-wrapper (#35967)

Jordan Vidrinecd24b0c5e068
diff --git a/plugins/chat/assets/stylesheets/mobile/base-mobile.scss b/plugins/chat/assets/stylesheets/mobile/base-mobile.scss
index dd4c1797ea8..c2d447162bc 100644
--- a/plugins/chat/assets/stylesheets/mobile/base-mobile.scss
+++ b/plugins/chat/assets/stylesheets/mobile/base-mobile.scss
@@ -12,6 +12,9 @@
html.has-full-page-chat {
body #main-outlet {
padding: 0;
+ height: calc(
+ var(--composer-vh, 1dvh) * 100 - var(--main-outlet-offset, 0px)
+ );
.main-chat-outlet {
.chat-channel {