Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Design issues in the responsive view #10091

Open
ChillerPerser opened this issue Dec 20, 2024 · 3 comments
Open

Multiple Design issues in the responsive view #10091

ChillerPerser opened this issue Dec 20, 2024 · 3 comments
Assignees
Labels
area: ui Related to the admin panel.

Comments

@ChillerPerser
Copy link

ChillerPerser commented Dec 20, 2024

Describe the Bug.

There are multiple design issues in the responsive view.

On the global header view:
Image

Open the navigation the page gets horizontal scrollable:
Image

The localization dropdown has no spacing:
Image

Reproduction Steps

Environment Info

Binaries:
  Node: 22.12.0
  npm: 10.9.0
  Yarn: N/A
  pnpm: 9.15.0
Relevant Packages:
  payload: 3.9.0
  next: 15.1.2
  @payloadcms/db-postgres: 3.9.0
  @payloadcms/email-nodemailer: 3.9.0
  @payloadcms/graphql: 3.9.0
  @payloadcms/live-preview: 3.9.0
  @payloadcms/live-preview-react: 3.9.0
  @payloadcms/next/utilities: 3.9.0
  @payloadcms/payload-cloud: 3.9.0
  @payloadcms/plugin-form-builder: 3.9.0
  @payloadcms/plugin-nested-docs: 3.9.0
  @payloadcms/plugin-redirects: 3.9.0
  @payloadcms/plugin-search: 3.9.0
  @payloadcms/plugin-seo: 3.9.0
  @payloadcms/richtext-lexical: 3.9.0
  @payloadcms/translations: 3.9.0
  @payloadcms/ui/shared: 3.9.0
  react: 19.0.0
  react-dom: 19.0.0
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.2.0: Fri Dec  6 18:56:34 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6020
  Available memory (MB): 16384
  Available CPU cores: 10
@ChillerPerser ChillerPerser added area: ui Related to the admin panel. status: needs-triage Possible bug which hasn't been reproduced yet labels Dec 20, 2024
@github-actions github-actions bot removed the status: needs-triage Possible bug which hasn't been reproduced yet label Dec 20, 2024
@Bobeta
Copy link

Bobeta commented Dec 21, 2024

If I may add, I noticed that in 3.10.0 that the scroll often gets locked in iOS when the user is inside a collection. Opening & closing the sidebar makes it scrollable again.

@gkennedy87
Copy link
Contributor

I believe this is related to #10135

The problem lies in the postcss.config file. Autoprefixer is being loaded before tailwind so all of the vendor prefixes aren't being added to the tailwind classes.

To fix the issue, find your postcss config file in your root director then swap the tailwind and autoprefixer order. Tailwind should come first.

@ChillerPerser
Copy link
Author

ChillerPerser commented Jan 3, 2025

As we are not using tailwindcss we removed the plugin.

But even with the plugin installed, the bugs still exist.

If the postcss.config.js is required for the admin backend it should be in the docs at https://payloadcms.com/docs/getting-started/installation

For us it doesnt matter which Browser we are using - Chrome, Firefox and Safari showing the same result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ui Related to the admin panel.
Projects
None yet
Development

No branches or pull requests

4 participants