WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/09/2016 09:18:53 PM (4 years ago)
Author:
obenland
Message:

Customize: Reduce vertical space of site icon control.

Makes the control easier to find, reduces visual clutter, and is more
consistent with Customizer UI conventions.

Props celloexpressions.
Fixes #35943.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-site-icon-control.php

    r36698 r36907  
    6262        <div class="current">
    6363            <div class="container">
    64                 <div class="attachment-media-view attachment-media-view-{{ data.attachment.type }} {{ data.attachment.orientation }} site-icon-preview">
    65                     <strong><?php _e( 'As a browser icon' ); ?></strong>
     64                <div class="site-icon-preview">
    6665                    <div class="favicon-preview">
    67                         <img src="images/browser.png" class="browser-preview" width="182" height="" alt="" />
     66                        <img src="images/browser.png" class="browser-preview" width="182" alt="<?php esc_attr_e( 'Browser interface preview' ); ?>" />
    6867
    6968                        <div class="favicon">
     
    7271                        <span class="browser-title"><?php bloginfo( 'name' ); ?></span>
    7372                    </div>
    74 
    75                     <strong><?php _e( 'As an app icon' ); ?></strong>
    76                     <p class="app-icon-preview">
    77                         <img id="preview-app-icon" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/>
    78                     </p>
     73                    <img class="app-icon-preview" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/>
    7974                </div>
    8075            </div>
Note: See TracChangeset for help on using the changeset viewer.