Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#65266 new defect (bug)

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

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

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 5 months ago.
bug 7.0.png​ (60.0 KB ) - added by modi2918 5 months ago.

Download all attachments as: .zip

Change History (5)

@modi2918
5 months ago

@modi2918
5 months ago

#1 @kananiparth1326
5 months 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.


5 months 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
5 months ago

  • Component Bundled Theme → Administration
  • Focuses accessibility removed
  • Priority normal → low

Related/duplicate: #58335

Note: See TracTickets for help on using tickets.