Fix layout of chat content when scrollbar becomes visible

This commit is contained in:
Saoud Rizwan
2024-07-22 07:59:06 -04:00
parent c11ab41d01
commit 612db6d070
3 changed files with 4 additions and 2 deletions

View File

@@ -330,7 +330,8 @@ const ChatView = ({ messages, isHidden, vscodeThemeName }: ChatViewProps) => {
className="scrollable"
style={{
flexGrow: 1,
overflowY: "auto",
overflowY: "scroll",
padding: "0 6px 0 15px",
}}>
{modifiedMessages.map((message, index) => (
<ChatRow key={index} message={message} syntaxHighlighterStyle={syntaxHighlighterStyle} />