Arrow down icon styling fix
This commit is contained in:
parent
83c851d371
commit
78c56aae30
@ -46,7 +46,7 @@ export const chatStyles = css`
|
|||||||
|
|
||||||
.last-message-ref {
|
.last-message-ref {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
font-size: 20px;
|
font-size: 18px;
|
||||||
right: 40px;
|
right: 40px;
|
||||||
bottom: 100px;
|
bottom: 100px;
|
||||||
width: 50;
|
width: 50;
|
||||||
@ -64,6 +64,10 @@ export const chatStyles = css`
|
|||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.arrow-down-icon {
|
||||||
|
transform: scale(1.15);
|
||||||
|
}
|
||||||
|
|
||||||
.chat-list {
|
.chat-list {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
@ -68,7 +68,7 @@ class ChatScroller extends LitElement {
|
|||||||
)}
|
)}
|
||||||
<div id='downObserver'></div>
|
<div id='downObserver'></div>
|
||||||
<div class='last-message-ref'>
|
<div class='last-message-ref'>
|
||||||
<vaadin-icon icon='vaadin:arrow-circle-down' slot='icon' @click=${() => {
|
<vaadin-icon class='arrow-down-icon' icon='vaadin:arrow-circle-down' slot='icon' @click=${() => {
|
||||||
this.shadowRoot.getElementById('downObserver').scrollIntoView({
|
this.shadowRoot.getElementById('downObserver').scrollIntoView({
|
||||||
behavior: 'smooth',
|
behavior: 'smooth',
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user