UX: remove new message element from chatpane (#21143)
* UX: remove new message element * Update chat-scroll-to-bottom-arrow.hbs * Linting --------- Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
This commit is contained in:
parent
4b02fa7082
commit
c57f423083
|
@ -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>
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue