fix(ui): inconsistent pill sizes across admin panel (#12788)
### What? Fixes inconsistent `pill` sizes across the Admin Panel. ### How? Pills without a specified size default to **medium**. In the folders [PR](https://github.com/payloadcms/payload/pull/10030), additional padding was to the medium size. As a result, any pills without an explicit size now appear larger than intended. This PR fixes that by updating any pills that should be small to explicitly set `size="small"`. Fixes #12752
This commit is contained in:
@@ -5,7 +5,7 @@ export const ReindexButtonLabel = () => {
|
||||
i18n: { t },
|
||||
} = useTranslation()
|
||||
return (
|
||||
<Pill className="pill--has-action" icon={<ChevronIcon />} pillStyle="light">
|
||||
<Pill className="pill--has-action" icon={<ChevronIcon />} pillStyle="light" size="small">
|
||||
{t('general:reindex')}
|
||||
</Pill>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user