Skip to content

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

UX: Correct previous fix (#36001)

Jordan Vidrinef6b9e3352d14
diff --git a/plugins/chat/assets/stylesheets/common/base-common.scss b/plugins/chat/assets/stylesheets/common/base-common.scss
index bc5aa250fd5..32aab529070 100644
--- a/plugins/chat/assets/stylesheets/common/base-common.scss
+++ b/plugins/chat/assets/stylesheets/common/base-common.scss
@@ -188,7 +188,7 @@ body.has-full-page-chat {
.c-navbar-container {
position: sticky;
- top: var(--main-outlet-offset);
+ top: 0;
z-index: 1;
}
diff --git a/plugins/chat/assets/stylesheets/mobile/base-mobile.scss b/plugins/chat/assets/stylesheets/mobile/base-mobile.scss
index c2d447162bc..dd4c1797ea8 100644
--- a/plugins/chat/assets/stylesheets/mobile/base-mobile.scss
+++ b/plugins/chat/assets/stylesheets/mobile/base-mobile.scss
@@ -12,9 +12,6 @@
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 {
diff --git a/plugins/chat/assets/stylesheets/mobile/chat-footer.scss b/plugins/chat/assets/stylesheets/mobile/chat-footer.scss
index d3aff8ab965..35b0a195c23 100644
--- a/plugins/chat/assets/stylesheets/mobile/chat-footer.scss
+++ b/plugins/chat/assets/stylesheets/mobile/chat-footer.scss
@@ -1,5 +1,6 @@
.full-page-chat {
#main-chat-outlet.chat-view {
+ height: calc(100vh - var(--header-offset));
display: grid;
grid-template-rows: 1fr auto;
grid-template-areas:
@@ -11,9 +12,18 @@
grid-area: list;
padding-bottom: 0;
}
+
+ .c-routes {
+ grid-area: list;
+ display: flex;
+ flex-direction: column;
+ overflow: hidden;
+ }
}
.c-footer {
+ position: relative;
+
&__item {
.c-unread-indicator,
.c-unread-indicator.-urgent {
diff --git a/plugins/chat/assets/stylesheets/mobile/chat-index.scss b/plugins/chat/assets/stylesheets/mobile/chat-index.scss
index e4fe7161d4a..dbfce18c04b 100644
--- a/plugins/chat/assets/stylesheets/mobile/chat-index.scss
+++ b/plugins/chat/assets/stylesheets/mobile/chat-index.scss
@@ -1,7 +1,8 @@
@import "common/foundation/mixins";
.channels-list-container {
- overflow: hidden;
+ overflow: scroll;
+ padding-bottom: 0;
.chat-channel-name {
font-size: var(--font-up-1-rem);