Make WordPress Core

Opened 7 months ago

Closed 7 months ago

#64777 closed defect (bug) (fixed)

Events widget: use compact input and button

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

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 7 months ago.
Events widget
Capture d’écran 2026-03-02 à 14.53.43.png (173.2 KB ) - added by audrasjb 7 months ago.
Using compact styles
64777.diff (826 bytes ) - added by sachinrajcp123 7 months 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
7 months ago

Events widget

#1 @audrasjb
7 months ago

  • Component GeneralAdministration
  • Focuses ui added
  • Keywords good-first-bug added
  • Milestone Awaiting Review7.0
  • Versiontrunk

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

Using compact styles

#3 @audrasjb
7 months 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
7 months 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.


7 months 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:


7 months 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
7 months ago

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

#7 @joedolson
7 months ago

  • Owner set to joedolson
  • Status newaccepted

#8 @joedolson
7 months ago

  • Keywords commit added

#9 @joedolson
7 months ago

  • Resolutionfixed
  • Status acceptedclosed

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.