A platform for community discussion. Free, open, simple.
UX: remove new message element from chatpane (#21143)
chapoic57f42308399
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-scroll-to-bottom-arrow.hbs b/plugins/chat/assets/javascripts/discourse/components/chat-scroll-to-bottom-arrow.hbsindex 564019772a0..5b660d2fd55 100644--- a/plugins/chat/assets/javascripts/discourse/components/chat-scroll-to-bottom-arrow.hbs+++ b/plugins/chat/assets/javascripts/discourse/components/chat-scroll-to-bottom-arrow.hbs@@ -3,18 +3,12 @@class={{concat-class"btn-flat""chat-scroll-to-bottom"- (if (or @show @hasNewMessages) "visible")+ (if @show "visible")}}@action={{@scrollToBottom}}><span class="chat-scroll-to-bottom__arrow">{{d-icon "arrow-down"}}-- {{#if @hasNewMessages}}- <span class="chat-scroll-to-bottom__text">- {{i18n "chat.scroll_to_new_messages"}}- </span>- {{/if}}</span></DButton></div>\ No newline at end of filediff --git a/plugins/chat/assets/stylesheets/common/base-common.scss b/plugins/chat/assets/stylesheets/common/base-common.scssindex f1229794a06..9ee54d7156a 100644--- a/plugins/chat/assets/stylesheets/common/base-common.scss+++ b/plugins/chat/assets/stylesheets/common/base-common.scss@@ -343,18 +343,6 @@ $float-height: 530px;opacity: 0.8;}- &__text {- color: var(--secondary);- padding: 0.5rem;- margin-bottom: 0.5rem;- background: var(--primary-medium);- border-radius: 3px;- text-align: center;- font-size: var(--font-down-1);- bottom: 40px;- position: absolute;- }-&__arrow {display: flex;background: var(--primary-medium);