Make WordPress Core

Opened 7 months ago

Closed 6 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 Owned by: audrasjb
Priority: normal Milestone: 7.0
Component: Administration Version: 7.0
Severity: normal Keywords: has-screenshots has-patch dev-reviewed commit
Cc: Focuses: ui, css

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 7 months ago.
Dashboard Widget Border Bottom Issue
65017.diff​ (316 bytes ) - added by ankitkumarshah 7 months ago.
65017.2.diff​ (317 bytes ) - added by ankitkumarshah 7 months ago.
Fix linting issue

Download all attachments as: .zip

Change History (12)

@Pratik Jain
7 months ago

Dashboard Widget Border Bottom Issue

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

  • Keywords needs-patch added; needs-testing removed
  • Milestone Awaiting Review → 7.0
  • Version → trunk

@ankitkumarshah
7 months ago

Fix linting issue

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

  • Owner set to audrasjb
  • Status assigned → accepted

#5 @audrasjb
7 months ago

  • Keywords commit added

#6 @audrasjb
7 months ago

  • Resolution → fixed
  • Status accepted → 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 months ago

  • Keywords dev-feedback added; commit removed

Reopening for 7.0 backport.

#8 @westonruter
6 months ago

  • Keywords dev-reviewed commit added; dev-feedback removed
  • Resolution fixed
  • Status closed → reopened

@audrasjb This fixes the issue for me. Approved.

#9 @audrasjb
6 months ago

  • Resolution → fixed
  • Status reopened → 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.