Skip to content

Commit 7797064

Browse files
author
David Scheier
committed
added css customization entry for scroll to bottom button
1 parent deb5cf4 commit 7797064

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/css-customization.md

+8
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ There are several classes that you need to take in consideration if you want to
1616
* *webchat-header-close-button*
1717
* *webchat-header-rating-button*
1818
* *webchat-chat-history*
19+
* *webchat-scroll-to-bottom-button*
1920
* *webchat-message-row*
2021
* *regular-message*
2122
* *webchat-avatar*
@@ -141,6 +142,13 @@ This is the element where all the messages of the chat are are shown, you could
141142

142143
background-color: rgb(48, 48, 48);
143144
}
145+
* *webchat-scroll-to-bottom-button*
146+
This is the button that appears in the chat area when scrolled up. It can be clicked to scroll to the bottom.
147+
```CSS
148+
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-scroll-to-bottom-button {
149+
150+
background-color: rgb(88, 88, 88);
151+
}
144152
```
145153
* *webchat-message-row*
146154
The general class for any message in the chat, containing the message and the avatar logo.

0 commit comments

Comments
 (0)