Skip to content

Conversation

@6TELOIV
Copy link
Contributor

@6TELOIV 6TELOIV commented Nov 21, 2025

What?

If the step nav's content is too long, then it will overflow the screen on mobile devices. Instead, this portion of the header should grow and shrink as needed, rather than being the full width of the header.

Why?

I believe this issue was introduced with a change to the menu button.

How?

  • remove width: 100% as it is inaccurate to the desired size
  • add min-width: 0 to allow it to shrink
  • change flex-grow: 1 to flex: 1 to make it take up the available space

Before:

{D5255587-F9A4-494B-B1CE-DE350C550E6F}

After:

{77C3D92D-DC0F-431B-8001-11B21754290C}

If the step nav's content is too long, then it will overflow the screen on mobile devices. Instead, this portion of the header should grow and shrink as needed, forcing the step nav to scroll if necessary.
@JarrodMFlesch
Copy link
Contributor

Tested, looks good!

@JarrodMFlesch JarrodMFlesch enabled auto-merge (squash) November 21, 2025 21:35
@JarrodMFlesch JarrodMFlesch merged commit 91d3e04 into payloadcms:main Nov 21, 2025
98 checks passed
@github-actions
Copy link
Contributor

🚀 This is included in version v3.65.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants