Make WordPress Core

Opened 2 months ago

Closed 2 months 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: 7.0
Component: Administration Keywords: has-screenshots has-patch dev-reviewed commit
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 2 months ago.
Dashboard Widget Border Bottom Issue
65017.diff (316 bytes) - added by ankitkumarshah 2 months ago.
65017.2.diff (317 bytes) - added by ankitkumarshah 2 months ago.
Fix linting issue

Download all attachments as: .zip

Change History (12)

@Pratik Jain
2 months ago

Dashboard Widget Border Bottom Issue

#1 @Pratik Jain
2 months 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
2 months ago

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

@ankitkumarshah
2 months ago

Fix linting issue

#3 @ankitkumarshah
2 months 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
2 months ago

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

#5 @audrasjb
2 months ago

  • Keywords commit added

#6 @audrasjb
2 months 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
2 months ago

  • Keywords dev-feedback added; commit removed

Reopening for 7.0 backport.

#8 @westonruter
2 months ago

  • Keywords dev-reviewed commit added; dev-feedback removed
  • Resolution fixed deleted
  • Status changed from closed to reopened

@audrasjb This fixes the issue for me. Approved.

#9 @audrasjb
2 months ago

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

In 62214:

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].

Reviewed by westonruter.
Merges [62206] to the 7.0 branch.

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

Note: See TracTickets for help on using tickets.