Skip to content

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

UX: Fix chat styling regression when row is active (#41060)

Penar Musaraj9f5b80278d9d
diff --git a/plugins/chat/assets/stylesheets/common/chat-channel-row.scss b/plugins/chat/assets/stylesheets/common/chat-channel-row.scss
index fb2c42650fe..e8f61faa518 100644
--- a/plugins/chat/assets/stylesheets/common/chat-channel-row.scss
+++ b/plugins/chat/assets/stylesheets/common/chat-channel-row.scss
@@ -137,12 +137,8 @@
margin-left: auto;
}
- .full-page-chat & {
+ .desktop-view .full-page-chat & {
padding: var(--space-2) var(--space-4);
border-bottom: 1px solid var(--content-border-color);
-
- &:first-child {
- border-top: 1px solid var(--content-border-color);
- }
}
}
diff --git a/plugins/chat/assets/stylesheets/common/chat-index.scss b/plugins/chat/assets/stylesheets/common/chat-index.scss
index a3cacc001d3..e81d793c137 100644
--- a/plugins/chat/assets/stylesheets/common/chat-index.scss
+++ b/plugins/chat/assets/stylesheets/common/chat-index.scss
@@ -75,6 +75,7 @@
justify-content: space-between;
font-family: var(--heading-font-family);
color: var(--primary);
+ border-bottom: 1px solid var(--content-border-color);
.channel-title {
line-height: var(--line-height-medium);
diff --git a/plugins/chat/assets/stylesheets/mobile/chat-channel-row.scss b/plugins/chat/assets/stylesheets/mobile/chat-channel-row.scss
index a03258103e5..895272b9ad8 100644
--- a/plugins/chat/assets/stylesheets/mobile/chat-channel-row.scss
+++ b/plugins/chat/assets/stylesheets/mobile/chat-channel-row.scss
@@ -24,6 +24,7 @@
}
&__content {
+ padding-inline: 1.5rem;
padding-block: 0.5rem;
z-index: 2;
box-sizing: border-box;