mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-05 12:29:44 +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 (
|
return (
|
||||||
<Container>
|
<Container>
|
||||||
<Button type="primary" icon={<ExpandOutlined />} onClick={onPreview}>
|
<Button type="primary" icon={<ExpandOutlined />} onClick={onPreview} size="small">
|
||||||
{t('chat.artifacts.button.preview')}
|
{t('chat.artifacts.button.preview')}
|
||||||
</Button>
|
</Button>
|
||||||
<Button icon={<DownloadOutlined />} onClick={onDownload}>
|
<Button icon={<DownloadOutlined />} onClick={onDownload} size="small">
|
||||||
{t('chat.artifacts.button.download')}
|
{t('chat.artifacts.button.download')}
|
||||||
</Button>
|
</Button>
|
||||||
</Container>
|
</Container>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user