Update ChatPanel button style

- Add 'xs' size to the button
- Set fontSize to 'var(--vscode-editor-font-size)'
This commit is contained in:
Rankin Zheng 2023-05-19 09:11:41 +08:00
parent a46b69a2ab
commit f7a56ba97d

View File

@ -651,6 +651,7 @@ const chatPanel = () => {
{generating &&
<Center>
<Button
size='xs'
leftIcon={<IconPlayerStop color='var(--vscode-button-foreground)' />}
sx={{
backgroundColor: 'var(--vscode-button-background)',
@ -660,7 +661,8 @@ const chatPanel = () => {
color: 'var(--vscode-button-foreground)'
},
label: {
color: 'var(--vscode-button-foreground)'
color: 'var(--vscode-button-foreground)',
fontSize: 'var(--vscode-editor-font-size)',
}
}}
variant="white"