-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix mobile styles for inserter pattern and media tab navigation #63451
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
@WordPress/gutenberg-design - This isn't perfect, but definitely better than before. I'm not sure if there were solid designs for how the mobile view of the pattern and media tabs is supposed to look |
Size Change: +5 B (0%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good win! Works well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good to me and it works as expected
What?
There was a regression in mobile styles for the pattern and media tabs.
Why?
How?
CSS changes -- trying to match what was previously there. I don't think it's perfect, but it's much more usable now. I think the back button should also be sticky, but that could be done in a follow-up.
Testing Instructions
On both mobile and desktop:
Check for visual style issues.
Testing Instructions for Keyboard
Screenshots or screencast
Before
Screen.Recording.2024-07-11.at.12.09.37.PM.mov
After
Screen.Recording.2024-07-11.at.12.09.08.PM.mov