Make WordPress Core

Opened 6 days ago

Closed 5 days ago

#64739 closed defect (bug) (fixed)

Dashboard welcome panel and widgets misalignment

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

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 6 days ago.
Misaligned

Download all attachments as: .zip

Change History (8)

@Marc4
6 days ago

Misaligned

#1 @joedolson
6 days ago

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

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


6 days 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
6 days 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
6 days ago

Confirmed. The Dashboard welcome panel and widgets appear misaligned.

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

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

#5 @joedolson
5 days ago

  • Owner set to joedolson
  • Status changed from new to accepted

#6 @joedolson
5 days ago

  • Keywords commit added

#7 @joedolson
5 days ago

  • Resolution set to fixed
  • Status changed from accepted to 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.