Allow for custom scrollbar styling
This commit is contained in:
@@ -51,3 +51,17 @@
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.virtuoso::-webkit-scrollbar {
|
||||
width: 5px;
|
||||
height: auto;
|
||||
background-color: var(--theme-color-components-chat-background);
|
||||
}
|
||||
|
||||
.virtuoso::-webkit-scrollbar-thumb {
|
||||
background: var(--theme-color-components-scrollbar-thumb);
|
||||
}
|
||||
|
||||
.chatTextField {
|
||||
border-top: 1px solid lightgray;
|
||||
}
|
||||
|
||||
@@ -192,7 +192,11 @@ export const ChatContainer: FC<ChatContainerProps> = ({
|
||||
return (
|
||||
<div id="chat-container" className={styles.chatContainer}>
|
||||
{MessagesTable}
|
||||
{showInput && <ChatTextField />}
|
||||
{showInput && (
|
||||
<div className={styles.chatTextField}>
|
||||
<ChatTextField />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user