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:
Jessica Rynkar
2025-06-12 15:43:00 +01:00
committed by GitHub
parent b556fe3daf
commit 9364d51f4b
12 changed files with 17 additions and 10 deletions

View File

@@ -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>
)