Make WordPress Core

Opened 28 hours ago

Closed 7 hours ago

Last modified 7 hours ago

#65017 closed defect (bug) (fixed)

Dashboard widgets border bottom issue when it is closed in version 7.0 RC2

Reported by: pratik-jain's profile Pratik Jain Owned by: audrasjb's profile audrasjb
Milestone: 7.0 Priority: normal
Severity: normal Version: trunk
Component: Administration Keywords: has-screenshots has-patch dev-feedback
Focuses: ui, css Cc:

Description

In WordPress 7.0 RC2 version,
When dashboard widgets are closed then we can see a straight border bottom without round.

Attachments (3)

WordPress-7.png (24.3 KB) - added by Pratik Jain 28 hours ago.
Dashboard Widget Border Bottom Issue
65017.diff (316 bytes) - added by ankitkumarshah 22 hours ago.
65017.2.diff (317 bytes) - added by ankitkumarshah 22 hours ago.
Fix linting issue

Download all attachments as: .zip

Change History (10)

@Pratik Jain
28 hours ago

Dashboard Widget Border Bottom Issue

#1 @Pratik Jain
28 hours ago

Confirmed the bug persists in both Firefox and Chrome. Applying the CSS snippet below will standardize the behavior across both browsers,

We need to remove this CSS

.postbox.closed {border-bottom: 0;}

We need to add this CSS

.postbox.closed .postbox-header{border-bottom: 0;}

#2 @audrasjb
28 hours ago

  • Keywords needs-patch added; needs-testing removed
  • Milestone changed from Awaiting Review to 7.0
  • Version set to trunk

@ankitkumarshah
22 hours ago

Fix linting issue

#3 @ankitkumarshah
22 hours ago

  • Keywords has-patch added; needs-patch removed

Before

https://i.postimg.cc/9QFFVHxg/Screenshot-2026-04-03-at-9-06-00-PM.png

After

https://i.postimg.cc/Sx7NbN7p/Screenshot-2026-04-03-at-9-02-15-PM.png

#4 @audrasjb
8 hours ago

  • Owner set to audrasjb
  • Status changed from assigned to accepted

#5 @audrasjb
8 hours ago

  • Keywords commit added

#6 @audrasjb
7 hours ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 62206:

Administration: Improve dashboard widgets border styles.

This changeset fixes a CSS glitch on dashboard widgets bottom border when they are collapsed.

Follow-up to [61646].

Props pratik-jain, audrasjb, ankitkumarshah.
Fixes #65017.
See #64549.

#7 @audrasjb
7 hours ago

  • Keywords dev-feedback added; commit removed

Reopening for 7.0 backport.

Note: See TracTickets for help on using tickets.