Make WordPress Core

Changeset 61741


Ignore:
Timestamp:
02/25/2026 11:35:48 PM (6 weeks ago)
Author:
joedolson
Message:

Administration: Fix plugin and theme installer buttons.

Plugin and theme installer buttons load a dashicon during their updating and updated states. These dashicons were sized to large buttons, and caused a shift in alignment after the switch to compact buttons.

Update CSS to prevent shifts in size and alignment for installer buttons.

Props mohitbsf, peterwilsoncc, adnanhyder, huzaifaalmesbah, noruzzaman, ravichudasama01, shailu25, r1k0, joedolson.
Fixes #64687.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/list-tables.css

    r61729 r61741  
    14531453}
    14541454
     1455.plugin-card .updated-message:before,
     1456.plugin-card .updating-message:before {
     1457    line-height: 1;
     1458    position: relative;
     1459    top: -2px;
     1460    vertical-align: middle;
     1461}
     1462
    14551463.plugin-install-php #the-list {
    14561464    display: flex;
  • trunk/src/wp-admin/css/themes.css

    r61652 r61741  
    115115
    116116/* Use compact size for space-constrained theme cards */
     117.theme-browser .theme .theme-actions .button.updated-message,
     118.theme-browser .theme .theme-actions .button.updating-message,
    117119.theme-browser .theme .theme-actions .button {
    118120    float: none;
     
    121123    line-height: 2.30769231; /* 30px for 32px min-height */
    122124    padding: 0 12px;
     125}
     126
     127.theme-browser .theme .theme-actions .button.updated-message::before,
     128.theme-browser .theme .theme-actions .button.updating-message::before {
     129    line-height: 1;
     130    vertical-align: text-bottom;
     131    position: relative;
     132    top: 2px;
    123133}
    124134
Note: See TracChangeset for help on using the changeset viewer.