Merge pull request #484 from monotykamary/style/clean-up-chat-row-double-scroll

style: clean up chat row and api provider double scroll
This commit is contained in:
Matt Rubens
2025-01-22 08:07:18 -08:00
committed by GitHub
2 changed files with 9 additions and 2 deletions

View File

@@ -567,10 +567,12 @@ export const ChatRowContent = ({
style={{
display: "flex",
justifyContent: "space-between",
alignItems: "center",
alignItems: "flex-start",
gap: "10px",
}}>
<span style={{ display: "block", flexGrow: 1 }}>{highlightMentions(message.text)}</span>
<span style={{ display: "block", flexGrow: 1, padding: "4px" }}>
{highlightMentions(message.text)}
</span>
<VSCodeButton
appearance="icon"
style={{

View File

@@ -119,6 +119,11 @@ https://github.com/microsoft/vscode-webview-ui-toolkit/tree/main/src/dropdown#wi
margin-bottom: 2px;
}
/* Fix dropdown double scrollbar overflow */
#api-provider > div > ul {
overflow: unset;
}
/* Fix scrollbar in dropdown */
vscode-dropdown::part(listbox) {