Make WordPress Core

Opened 3 weeks ago

Last modified 3 weeks ago

#65266 new defect (bug)

Admin sidebar menu item shows a 0.19px height difference causing slight spacing and alignment inconsistency.

Reported by: modi2918's profile modi2918 Owned by:
Milestone: Awaiting Review Priority: low
Severity: normal Version:
Component: Administration Keywords: has-patch
Focuses: ui, css Cc:

Description

The WordPress admin sidebar contains a minor UI spacing issue where the .wp-menu-name element renders at 34.19px height instead of the expected 34px. This creates a subtle visual mismatch between sidebar menu items and the Collapse Menu button.

Actual Result
.wp-menu-name height renders as 34.19px.
Collapse Menu button height renders as 34px.
A slight spacing/alignment inconsistency appears in the sidebar.
Expected Result

All sidebar menu items and the collapse button should render with consistent heights and spacing using whole pixel values.

Attachments (2)

bug 7.0-1.png (59.2 KB) - added by modi2918 3 weeks ago.
bug 7.0.png (60.0 KB) - added by modi2918 3 weeks ago.

Download all attachments as: .zip

Change History (5)

@modi2918
3 weeks ago

@modi2918
3 weeks ago

#1 @kananiparth1326
3 weeks ago

Before Fixed :

#collapse-button {

display: block;
width: 100%;
height: 34px;
margin: 0;
border: none;
padding: 0;
position: relative;
overflow: visible;
background: 0 0;
color: #a7aaad;
cursor: pointer;

}
After FIxed :

#collapse-button {

display: block;
width: 100%;
height: 34.19px;
margin: 0;
border: none;
padding: 0;
position: relative;
overflow: visible;
background: 0 0;
color: #a7aaad;
cursor: pointer;

}

This ticket was mentioned in PR #11860 on WordPress/wordpress-develop by @intenzi.


3 weeks ago
#2

  • Keywords has-patch added

Trac ticket: https://core.trac.wordpress.org/ticket/65266

## Use of AI Tools

AI assistance: Yes
Tool(s): Antigravity
Model(s): Gemini 3 Flash
Used for: Identifying the relevant css, final change was performed and reviewed by me.

#3 @sabernhardt
3 weeks ago

  • Component changed from Bundled Theme to Administration
  • Focuses accessibility removed
  • Priority changed from normal to low

Related/duplicate: #58335

Note: See TracTickets for help on using tickets.