A platform for community discussion. Free, open, simple.
UX: small alignment tweaks for chat thread list header (#24410)
chapoif19fd75af9d2
diff --git a/plugins/chat/assets/stylesheets/common/chat-thread-header.scss b/plugins/chat/assets/stylesheets/common/chat-thread-header.scssindex 17abd1908d5..d265b27e481 100644--- a/plugins/chat/assets/stylesheets/common/chat-thread-header.scss+++ b/plugins/chat/assets/stylesheets/common/chat-thread-header.scss@@ -6,7 +6,7 @@box-sizing: border-box;display: flex;align-items: center;- padding-inline: 1rem 0.5rem;+ padding-inline: 0.5rem;.touch & {&__label {diff --git a/plugins/chat/assets/stylesheets/mobile/chat-thread-list-header.scss b/plugins/chat/assets/stylesheets/mobile/chat-thread-list-header.scssnew file mode 100644index 00000000000..302e6b464ee--- /dev/null+++ b/plugins/chat/assets/stylesheets/mobile/chat-thread-list-header.scss@@ -0,0 +1,12 @@+.chat-thread-list-header {+ padding-inline: 0 0.5rem;+ align-items: flex-start;++ &__label {+ padding-top: 0.35em;+ }++ &__label-channel {+ line-height: var(--line-height-small);+ }+}diff --git a/plugins/chat/assets/stylesheets/mobile/index.scss b/plugins/chat/assets/stylesheets/mobile/index.scssindex 081db091434..edf7b33a568 100644--- a/plugins/chat/assets/stylesheets/mobile/index.scss+++ b/plugins/chat/assets/stylesheets/mobile/index.scss@@ -17,3 +17,4 @@@import "chat-channel-settings";@import "chat-form";@import "chat-modal-new-message";+@import "chat-thread-list-header";