Opened 7 weeks ago
Last modified 6 weeks ago
#66013 new defect (bug)
Admin bar submenu arrows are misaligned on small-screen devices.
| Reported by: | r1k0 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.2 |
| Component: | Toolbar | Version: | 5.2 |
| Severity: | normal | Keywords: | has-test-info has-screenshots has-patch |
| Cc: | Focuses: | css |
Description
Bug Report
Description
On small-screen devices (<782px), the submenu arrows aren't vertically center-aligned with the text next to them.
Environment
- WordPress: 7.2-alpha-63166-src
- Subdirectory: Yes
- PHP: 8.3.33
- Server: nginx/1.31.4
- Database: mysqli (Server: 9.7.2 / Client: mysqlnd 8.3.33)
- Browser: Chrome 151.0.0.0 (Mobile)
- OS: Android
- Theme: Twenty Twenty-Five 1.5
- MU Plugins: None activated
- Plugins:
- BuddyPress 14.5.2
- Test Reports 1.3.1
Steps to Reproduce
- You could use a plugin that adds an admin bar item that has a submenu (child item & grandchild item) or use a multisite(that is what I am using).
- On the dashboard, hover over the My Sites menu item.
- Do the same thing for the admin profile picture on the right side; hover over it (ensure you have BuddyPress for this).
- Observe the position of the submenu arrows relative to the text next to them.
- ๐ Bug occurs.
Expected Results
- โ The arrows should be vertically center-aligned relative to the text next to them.
Actual Results
- โ The arrows are vertically positioned slightly above the text next to them.
Additional Notes
- For the My Sites arrows, as far as I can tell, they have always been like that.
- But for the mispositioning of the arrows in the admin profile picture secondary menu, this is the result of a regression in 44793. This happened when the wp-admin-bar-arrow class was added.
Screenshots/Screencast with results
- Screenshot
Change History (7)
This ticket was mentioned in โPR #13347 on โWordPress/wordpress-develop by โ@r1k0.
7 weeks ago
#1
- Keywords has-patch added
โ@r1k0 commented on โPR #13347:
7 weeks ago
#2
โ@audrasjb commented on โPR #13347:
7 weeks ago
#4
โ@r1k0 commented on โPR #13347:
7 weeks ago
#5
Thank you, @sabernhardt & @audrasjb, for the reviews.
Fixing the specificity.
Lemmi, have another look at the alignment.
โ@r1k0 commented on โPR #13347:
6 weeks ago
#6
โ@r1k0 commented on โPR #13347:
6 weeks ago
#7
Updated with suggested changes
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)

Reposition the submenu arrows for smaller screen devices.
Trac ticket: 66013
## Use of AI Tools
N/A