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

@@ -92,6 +92,7 @@ export function FileSidebar() {
<Pill
className={`${baseClass}__header__addFile`}
onClick={() => openModal(addMoreFilesDrawerSlug)}
size="small"
>
{t('upload:addFile')}
</Pill>