Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Admin UI components are buggy

default discord avatar
ngosk4 months ago
2

Does anyone have a clue why my Payload Admin UI appears buggy? Many components render with weird alignments and missing paddings as seen in the image provided. I started this project on a V3 beta version, and recently upgraded to the stable 3.0.0 version.



I've double-checked all the package versions to make sure everything is running latest, and I've even reinstalled the node_modules folder twice - to no avail. The funny thing is that starting a new project from a template (eg. -t website) shows the correct UI.



Anyone know why this is happening?



Thank you! Removing

@tailwind base

and

@layer base

imports from my global stylesheet did the trick.

  • default discord avatar
    zed05475 months ago

    Hey

    @1246613760525734019

    ,



    This is common if you either have a root layout importing styles that overwrite Payloads admin styles. For example, if you have Tailwindcss configured, you gotta remember to remove preflight styles (or just don't import

    @layer base
Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.