mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 03:10:08 +08:00
feat: added size attribute to preview and download buttons
This commit is contained in:
parent
56300f259f
commit
4b77cb557a
@ -32,10 +32,10 @@ const Artifacts: FC<Props> = ({ html }) => {
|
||||
|
||||
return (
|
||||
<Container>
|
||||
<Button type="primary" icon={<ExpandOutlined />} onClick={onPreview}>
|
||||
<Button type="primary" icon={<ExpandOutlined />} onClick={onPreview} size="small">
|
||||
{t('chat.artifacts.button.preview')}
|
||||
</Button>
|
||||
<Button icon={<DownloadOutlined />} onClick={onDownload}>
|
||||
<Button icon={<DownloadOutlined />} onClick={onDownload} size="small">
|
||||
{t('chat.artifacts.button.download')}
|
||||
</Button>
|
||||
</Container>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user