Skip to content

Styling inconsistency between list view and folder view for empty collections #15484

@robinscholz

Description

@robinscholz

Describe the Bug.

I reckon these two views should share the same styling. I’d suggest to keep the dashed outline and center alignment from the folder view and use it for list views as well.

There is also a discrepancy in the spacing between header and search bar, as well as in the height of the two search bars (46px vs 52px).

Image Image

Reproduction Steps

  1. Add a collection
  2. Enable folders
  3. View list vs folder view when collection is empty

Environment Info

Binaries:
  Node: 22.21.1
  npm: 10.9.4
  Yarn: 1.22.19
  pnpm: 10.24.0
Relevant Packages:
  payload: 3.71.0
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.6.0: Wed Nov  5 21:33:58 PST 2025; root:xnu-11417.140.69.705.2~1/RELEASE_ARM64_T6000
  Available memory (MB): 32768
  Available CPU cores: 10

Metadata

Metadata

Assignees

Labels

Bugarea: uiRelated to the admin panel.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions