Make WordPress Core

Opened 8 months ago

Closed 8 months ago

#64739 closed defect (bug) (fixed)

Dashboard welcome panel and widgets misalignment

Reported by: Marc4 Owned by: joedolson
Priority: normal Milestone: 7.0
Component: Administration Version: 7.0
Severity: normal Keywords: has-screenshots admin-reskin has-patch commit
Cc: Focuses: ui, css

Description

In the Dashboard, the welcome panel and dashboard widgets are misaligned in WP 7.0 Beta 2.

Attachments (1)

misaligned.png​ (200.8 KB ) - added by Marc4 8 months ago.
Misaligned

Download all attachments as: .zip

Change History (8)

@Marc4
8 months ago

Misaligned

#1 @joedolson
8 months ago

  • Focuses css added
  • Keywords has-screenshots needs-patch admin-reskin added
  • Milestone Awaiting Review → 7.0

This ticket was mentioned in ​PR #11074 on ​WordPress/wordpress-develop by ​@hbhalodia.


8 months ago
#2

  • Keywords has-patch added; needs-patch removed

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

  • Revert the logic for cards on dashboard to previous to make it align.
  • Can have other logic as well, if we specifically needs padding on the card, as padding counts inbound, so it will definately shrink in size.
  • Use of negative margin and add same margin for spacings.

## Use of AI Tools

  • None

#3 @noruzzaman
8 months ago

Test Report

Patch tested: ​https://github.com/WordPress/wordpress-develop/pull/11074

Environment

  • WordPress: 7.0-beta2-20260226.234351
  • PHP: 7.4.33
  • Server: PHP.wasm
  • Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.51.0)
  • Browser: Chrome 145.0.0.0
  • OS: macOS
  • Theme: Twenty Twenty-Five 1.4
  • MU Plugins: None activated
  • Plugins:
    • Test Reports 1.2.1

Actual Results

  1. ✅ Issue resolved with patch.
Before After
https://i.ibb.co.com/27cFPZ9Q/before-patch.png https://i.ibb.co.com/7x7RL7Sp/after-patch.png

#4 @soyebsalar01
8 months ago

Confirmed. The Dashboard welcome panel and widgets appear misaligned.

Before Patch:
​https://postimg.cc/w11sBGMZ

After Patch:
​https://postimg.cc/ftDLY2Wh

#5 @joedolson
8 months ago

  • Owner set to joedolson
  • Status new → accepted

#6 @joedolson
8 months ago

  • Keywords commit added

#7 @joedolson
8 months ago

  • Resolution → fixed
  • Status accepted → closed

In 61759:

Admin: Fix alignment of dashboard widgets and welcome panel.

Adjust padding and margins of dashboard widgets to properly align with the content width, matching the Welcome Panel.

Props marc4, hbhalodia, noruzzaman, soyebsalar01, joedolson.
Fixes #64739.

Note: See TracTickets for help on using tickets.