Skip to content

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

UX: chat-channel-row alignment (#23607)

chapoi02de223da8e8
diff --git a/plugins/chat/assets/stylesheets/common/chat-channel-row.scss b/plugins/chat/assets/stylesheets/common/chat-channel-row.scss
index 51cfbfa7b10..879553f836a 100644
--- a/plugins/chat/assets/stylesheets/common/chat-channel-row.scss
+++ b/plugins/chat/assets/stylesheets/common/chat-channel-row.scss
@@ -9,6 +9,7 @@
&__content {
display: flex;
+ align-items: center;
flex-grow: 1;
}
@@ -68,6 +69,9 @@
}
.chat-channel-title {
+ width: 100%;
+ overflow: hidden;
+
&__users-count {
width: var(--channel-list-avatar-size);
height: var(--channel-list-avatar-size);
diff --git a/plugins/chat/assets/stylesheets/mobile/chat-index.scss b/plugins/chat/assets/stylesheets/mobile/chat-index.scss
index 47352eef3bd..b5c33d61c96 100644
--- a/plugins/chat/assets/stylesheets/mobile/chat-index.scss
+++ b/plugins/chat/assets/stylesheets/mobile/chat-index.scss
@@ -33,9 +33,6 @@
}
.chat-channel-title {
- width: 100%;
- overflow: hidden;
-
&__users-count {
font-size: var(--font-up-2);
& + .chat-channel-title__name {