Make WordPress Core


Ignore:
Timestamp:
08/03/2026 12:13:24 PM (4 weeks ago)
Author:
wildworks
Message:

Administration: Fix install button icon alignment in theme preview.

When installing a theme from the Details & Preview overlay, the animated icon shown in the Install button was taller than the button itself, so the button grew and its label shifted while the install was in progress. Matching the icon height to the button height keeps the button at a stable size and the icon aligned with the label throughout the updating and updated states.

Developed in: https://github.com/WordPress/wordpress-develop/pull/12799

Follow-up to [62516].

Props eishanoor, kosvrouvas, mosescursor, r1k0, shailu25, ugyensupport, vedantere, wildworks.
Fixes #65601.

File:
1 edited

Legend:

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

    r62745 r62972  
    19771977}
    19781978
     1979.theme-install-overlay .wp-full-overlay-header .button.updating-message:before,
     1980.theme-install-overlay .wp-full-overlay-header .button.updated-message:before {
     1981        line-height: 1.5; /* 30px (20px * 1.5) - matches the button above */
     1982}
     1983
    19791984.theme-install-overlay .wp-full-overlay-sidebar {
    19801985        background: #f0f0f1;
Note: See TracChangeset for help on using the changeset viewer.