Make WordPress Core

Opened 6 weeks ago

Closed 5 weeks ago

#64777 closed defect (bug) (fixed)

Events widget: use compact input and button

Reported by: joen's profile Joen Owned by: joedolson's profile joedolson
Milestone: 7.0 Priority: normal
Severity: normal Version: trunk
Component: Administration Keywords: admin-reskin good-first-bug has-screenshots has-patch commit
Focuses: ui Cc:

Description

The new admin styles look great. The Events widget could use the "compact" input and button styles, however, the 32px height ones.

Attachments (3)

events.png (116.7 KB) - added by Joen 6 weeks ago.
Events widget
Capture d’écran 2026-03-02 à 14.53.43.png (173.2 KB) - added by audrasjb 6 weeks ago.
Using compact styles
64777.diff (826 bytes) - added by sachinrajcp123 6 weeks ago.
Patch adds compact admin styles (32px) to Events widget input and button. Uses existing small utility classes.

Download all attachments as: .zip

Change History (12)

@Joen
6 weeks ago

Events widget

#1 @audrasjb
6 weeks ago

  • Component changed from General to Administration
  • Focuses ui added
  • Keywords good-first-bug added
  • Milestone changed from Awaiting Review to 7.0
  • Version set to trunk

#2 @audrasjb
6 weeks ago

Adding good-first-bug as this would be a good one to pick for any new contributor willing to send their first patch/PR.

@audrasjb
6 weeks ago

Using compact styles

#3 @audrasjb
6 weeks ago

  • Keywords needs-patch has-screenshots added

Compact styles for input:

    min-height: 32px;
    line-height: 2.14285714;
    padding: 0 8px;

Compact styles for button:

    min-height: 32px;
    line-height: 2.30769231;
    padding: 0 12px;

@sachinrajcp123
6 weeks ago

Patch adds compact admin styles (32px) to Events widget input and button. Uses existing small utility classes.

This ticket was mentioned in PR #11162 on WordPress/wordpress-develop by amesplant.


5 weeks ago
#4

  • Keywords has-patch added; needs-patch removed

Trac ticket: #64777

Applies the 32px compact styles to the Dashboard's Events widget input and submit button

## Use of AI Tools

@huzaifaalmesbah commented on PR #11162:


5 weeks ago
#5

Hi @amesplant
Could you please connect your WordPress.org account with your GitHub account?
Guide: https://make.wordpress.org/core/2020/03/19/associating-github-accounts-with-wordpress-org-profiles/

#6 @amesplant
5 weeks ago

@huzaifaalmesbah WordPress.org account is now connected to my GitHub account.

#7 @joedolson
5 weeks ago

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

#8 @joedolson
5 weeks ago

  • Keywords commit added

#9 @joedolson
5 weeks ago

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

In 61852:

Admin: Use compact styles in Events dashboard widget.

Change the inputs for setting event location to use the compact input heights.

Props joen, audrasjb, huzaifaalmesbah, amesplant, joedolson.
Fixes #64777.

Note: See TracTickets for help on using tickets.