mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Media: Don't indent action links if there is no media icon.
See #32254. Built from https://develop.svn.wordpress.org/trunk@33269 git-svn-id: http://core.svn.wordpress.org/trunk@33241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2a0ddf8523
commit
4f94d3a969
@ -364,7 +364,7 @@ table.media .column-title .media-icon img {
|
||||
vertical-align: top; /* Remove descender white-space. */
|
||||
}
|
||||
|
||||
table.media .column-title .row-actions {
|
||||
table.media .column-title .has-media-icon ~ .row-actions {
|
||||
margin-right: 70px; /* 60px image + margin */
|
||||
}
|
||||
|
||||
|
@ -364,7 +364,7 @@ table.media .column-title .media-icon img {
|
||||
vertical-align: top; /* Remove descender white-space. */
|
||||
}
|
||||
|
||||
table.media .column-title .row-actions {
|
||||
table.media .column-title .has-media-icon ~ .row-actions {
|
||||
margin-left: 70px; /* 60px image + margin */
|
||||
}
|
||||
|
||||
|
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
@ -347,8 +347,10 @@ class WP_Media_List_Table extends WP_List_Table {
|
||||
$link_end = '</a>';
|
||||
}
|
||||
|
||||
$class = $thumb ? ' class="has-media-icon"' : '';
|
||||
|
||||
?>
|
||||
<strong>
|
||||
<strong<?php echo $class; ?>>
|
||||
<?php echo $link_start; ?>
|
||||
<?php if ( $thumb ) : ?>
|
||||
<span class="media-icon <?php echo sanitize_html_class( $mime . '-icon' ); ?>"><?php echo $thumb; ?></span>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-beta2-33268';
|
||||
$wp_version = '4.3-beta2-33269';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user