WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/15/2017 06:50:50 PM (4 years ago)
Author:
westonruter
Message:

Customize: Fix alignment of natural-width media buttons in site icon control.

Amends [40653].
Props afercia.
Fixes #40220.

File:
1 edited

Legend:

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

    r40314 r40671  
    6363            <div class="attachment-media-view">
    6464                <# if ( data.attachment.sizes ) { #>
    65                     <div class="site-icon-preview">
     65                    <div class="site-icon-preview wp-clearfix">
    6666                        <div class="favicon-preview">
    6767                            <img src="<?php echo esc_url( admin_url( 'images/' . ( is_rtl() ? 'browser-rtl.png' : 'browser.png' ) ) ); ?>" class="browser-preview" width="182" alt="" />
     
    7979                        <button type="button" class="button remove-button"><?php echo $this->button_labels['remove']; ?></button>
    8080                        <button type="button" class="button upload-button" id="{{ data.settings['default'] }}-button"><?php echo $this->button_labels['change']; ?></button>
    81                         <div style="clear:both"></div>
    8281                    <# } #>
    8382                </div>
     
    9594                        <button type="button" class="button upload-button" id="{{ data.settings['default'] }}-button"><?php echo $this->button_labels['select']; ?></button>
    9695                    <# } #>
    97                     <div style="clear:both"></div>
    9896                </div>
    9997            </div>
Note: See TracChangeset for help on using the changeset viewer.