WordPress.org

Make WordPress Core

Changeset 33269


Ignore:
Timestamp:
07/14/2015 05:45:55 PM (5 years ago)
Author:
obenland
Message:

Media: Don't indent action links if there is no media icon.

See #32254.

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

Legend:

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

    r33268 r33269  
    365365}
    366366
    367 table.media .column-title .row-actions {
     367table.media .column-title .has-media-icon ~ .row-actions {
    368368    margin-left: 70px; /* 60px image + margin */
    369369}
  • trunk/src/wp-admin/includes/class-wp-media-list-table.php

    r33268 r33269  
    348348        }
    349349
     350        $class = $thumb ? ' class="has-media-icon"' : '';
     351
    350352        ?>
    351         <strong>
     353        <strong<?php echo $class; ?>>
    352354            <?php echo $link_start; ?>
    353355                <?php if ( $thumb ) : ?>
Note: See TracChangeset for help on using the changeset viewer.