chore: handle tag name too long

This commit is contained in:
Joel
2024-10-16 16:39:47 +08:00
parent f981494613
commit 1787c5c93f
3 changed files with 9 additions and 7 deletions

View File

@ -67,7 +67,7 @@ const PluginList = async () => {
payload={plugin as any}
locale={locale}
footer={
<CardMoreInfo downloadCount={index % 2 === 0 ? 1234 : 6} tags={index % 2 === 0 ? ['Search', 'Productivity'] : []} />
<CardMoreInfo downloadCount={index % 2 === 0 ? 1234 : 6} tags={index % 2 === 0 ? ['Search', 'Tag that has very very long name', 'Productivity', 'Tag2'] : []} />
}
/>
))}