Make WordPress Core

Changeset 61770

Timestamp:
02/27/2026 11:42:58 PM (5 days ago)
Author:
joedolson
Message:

Administration: Consistent styling for site icon setting.

In General Settings, set the remove-site-icon class in initial state and add border for clearer control boundaries.

Props sabernhardt, noruzzaman, madhavishah01, huzaifaalmesbah, hmbashar, shailu25, joedolson.
Fixes #64736.

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

Legend:

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

    r58927 r61770  
    182182    color: var(--site-icon-removal);
    183183    text-decoration: none;
    184     border-color: transparent;
     184    border-color: ;
    185185    box-shadow: none;
    186186    background: transparent;
  • trunk/src/wp-admin/options-general.php

    r61687 r61770  
    203203            id="js-remove-site-icon"
    204204            type="button"
    205             <?php echo has_site_icon() ? 'class="button button-secondary reset remove-site-icon"' : 'class="button button-secondary reset hidden"'; ?>
     205            <?php echo has_site_icon() ? 'class="button button-secondary reset remove-site-icon"' : 'class="button button-secondary reset hidden"'; ?>
    206206        >
    207207            <?php _e( 'Remove Site Icon' ); ?>
Note: See TracChangeset for help on using the changeset viewer.