WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/31/2017 04:50:42 PM (3 years ago)
Author:
afercia
Message:

Administration: Fix minor misalignments caused by the button-link CSS class.

After [40059] the CSS class button-link uses text-align: left by default.
This change now requires to limit as much as possible the use of button-link
to controls that should really look like links and to explicitly set
text-align: center in a few other cases.

Fixes #39983.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r40052 r40358  
    164164    <script type="text/html" id="tmpl-media-modal">
    165165        <div class="<?php echo $class; ?>">
    166             <button type="button" class="button-link media-modal-close"><span class="media-modal-icon"><span class="screen-reader-text"><?php _e( 'Close media panel' ); ?></span></span></button>
     166            <button type="button" class="media-modal-close"><span class="media-modal-icon"><span class="screen-reader-text"><?php _e( 'Close media panel' ); ?></span></span></button>
    167167            <div class="media-modal-content"></div>
    168168        </div>
Note: See TracChangeset for help on using the changeset viewer.