style: update chat new-messages button
This commit is contained in:
@@ -1001,6 +1001,16 @@
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* New messages indicator */
|
||||
.chat-new-messages {
|
||||
align-self: center;
|
||||
margin: 8px auto 0;
|
||||
border-radius: 999px;
|
||||
padding: 6px 12px;
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* Chat lines */
|
||||
.chat-line {
|
||||
display: flex;
|
||||
|
||||
@@ -347,7 +347,7 @@ export function renderChat(props: ChatProps) {
|
||||
props.showNewMessages
|
||||
? html`
|
||||
<button
|
||||
class="chat-new-messages"
|
||||
class="btn chat-new-messages"
|
||||
type="button"
|
||||
@click=${props.onScrollToBottom}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user