1. Restore the left margin on both (which reflects the right margin of the scroll bar space) 2. Fix the center alignment of scroll-to-bottom icon 3. Fix the spacing of the `-` character between a date label and "last visit" label 4. Fix the incorrect display the border on date label when at the bottom of viewport
28 lines
788 B
Handlebars
28 lines
788 B
Handlebars
{{#if @message.firstMessageOfTheDayAt}}
|
|
<div
|
|
class={{concat-class
|
|
"chat-message-separator-date"
|
|
(if @message.newest "with-last-visit")
|
|
}}
|
|
>
|
|
<div
|
|
class="chat-message-separator__text-container"
|
|
{{chat/track-message-separator-date}}
|
|
>
|
|
<span class="chat-message-separator__text">
|
|
<span>{{@message.firstMessageOfTheDayAt}}</span>
|
|
|
|
{{#if @message.newest}}
|
|
<span class="chat-message-separator__last-visit">
|
|
<span class="chat-message-separator__last-visit-separator">-</span>
|
|
{{i18n "chat.last_visit"}}
|
|
</span>
|
|
{{/if}}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="chat-message-separator__line-container">
|
|
<div class="chat-message-separator__line"></div>
|
|
</div>
|
|
{{/if}} |