From a2b12b6ace26870884ab9bc94a97ebe7dca15893 Mon Sep 17 00:00:00 2001 From: Martin Brennan Date: Tue, 16 May 2023 12:49:19 +0200 Subject: [PATCH] FIX: Drawer styles for chat thread icon (#21577) The spacing was not correct for this icon in the drawer. --- .../components/chat-drawer/header/thread-list-button.hbs | 2 +- plugins/chat/assets/stylesheets/common/chat-drawer.scss | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-drawer/header/thread-list-button.hbs b/plugins/chat/assets/javascripts/discourse/components/chat-drawer/header/thread-list-button.hbs index 99d59acadd4..cb1aa4ca131 100644 --- a/plugins/chat/assets/javascripts/discourse/components/chat-drawer/header/thread-list-button.hbs +++ b/plugins/chat/assets/javascripts/discourse/components/chat-drawer/header/thread-list-button.hbs @@ -2,7 +2,7 @@ @route="chat.channel.threads" @models={{this.chat.activeChannel.routeModels}} title={{i18n "chat.threads.list"}} - class="open-thread-list-btn btn btn-flat" + class="open-thread-list-btn btn btn-link btn-flat chat-drawer-header__thread-list-btn" {{on "click" this.stopPropagation}} > {{d-icon "discourse-threads"}} diff --git a/plugins/chat/assets/stylesheets/common/chat-drawer.scss b/plugins/chat/assets/stylesheets/common/chat-drawer.scss index 03114ef2899..b545f9b37dc 100644 --- a/plugins/chat/assets/stylesheets/common/chat-drawer.scss +++ b/plugins/chat/assets/stylesheets/common/chat-drawer.scss @@ -208,6 +208,7 @@ a.chat-drawer-header__title { &__close-btn, &__back-btn, &__full-screen-btn, + &__thread-list-btn, &__expand-btn { height: 30px; width: 30px; @@ -222,6 +223,7 @@ a.chat-drawer-header__title { .d-icon { color: var(--primary-low-mid); + margin-right: 0; } &:visited {