Forms: keep Form Responses admin bar link visible on mobile#50421
Forms: keep Form Responses admin bar link visible on mobile#50421dhasilva wants to merge 2 commits into
Conversation
WordPress core hides all non-allowlisted top-level admin bar items below 782px, dropping the custom jetpack-forms quick link. Re-show it and size the icon to match the native mobile items (52px box, centered 28px glyph). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! |
Code Coverage SummaryCoverage changed in 1 file.
Full summary · PHP report · JS report If appropriate, add one of these labels to override the failing coverage check:
Covered by non-unit tests
|

Fixes DSGCOM-595
Proposed changes
admin-bar.csshides every top-level admin bar item below 782px and only re-shows a hardcoded allowlist of core node IDs; the customjetpack-formsnode was never on that list.<style>alongside the node that re-shows#wp-admin-bar-jetpack-formson mobile. The selector carries two IDs, so it beats core's single-ID hiding rule on specificity (no!importantneeded for the un-hide)..ab-iconoverrides use!importantbecause the SVG carries its desktop sizing in an inlinestyleattribute, which otherwise wins the cascade.@media (max-width: 782px).Related product discussion/links
Does this pull request change what data or activity we track or use?
No.
Testing instructions
edit_pages.