Media: move the thumbnail into the title column in list view.
This gives us more space for the title and row actions, and will make a responsive list table enhancement significantly easier. props bradt for the initial patch. fixes #29993 and #32255. see #32509 and #32395. Built from https://develop.svn.wordpress.org/trunk@32687 git-svn-id: http://core.svn.wordpress.org/trunk@32657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -296,8 +296,20 @@ table.fixed {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.fixed .column-icon {
|
||||
width: 80px;
|
||||
/* Media file column */
|
||||
table.media .column-title {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
table.media .column-title .media-icon {
|
||||
position: absolute;
|
||||
top: 8px; /* match cell padding */
|
||||
right: 10px; /* match cell padding */
|
||||
}
|
||||
|
||||
table.media .column-title .media-info,
|
||||
table.media .column-title .row-actions {
|
||||
margin-right: 70px; /* 60px image + margin */
|
||||
}
|
||||
|
||||
/* @todo: pick a consistent list table selector */
|
||||
@@ -1622,6 +1634,7 @@ div.action-links,
|
||||
.column-tags,
|
||||
.tags .column-description,
|
||||
.media .column-parent,
|
||||
.media .column-comments,
|
||||
.users .column-email,
|
||||
.users .column-name,
|
||||
.sites .column-registered,
|
||||
@@ -1650,6 +1663,11 @@ div.action-links,
|
||||
word-wrap: normal;
|
||||
}
|
||||
|
||||
/* Media */
|
||||
.media .column-title {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* Quick Edit and Bulk Edit */
|
||||
#wpbody-content .quick-edit-row-post .inline-edit-col-left,
|
||||
#wpbody-content .quick-edit-row-post .inline-edit-col-right,
|
||||
|
||||
@@ -296,8 +296,20 @@ table.fixed {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.fixed .column-icon {
|
||||
width: 80px;
|
||||
/* Media file column */
|
||||
table.media .column-title {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
table.media .column-title .media-icon {
|
||||
position: absolute;
|
||||
top: 8px; /* match cell padding */
|
||||
left: 10px; /* match cell padding */
|
||||
}
|
||||
|
||||
table.media .column-title .media-info,
|
||||
table.media .column-title .row-actions {
|
||||
margin-left: 70px; /* 60px image + margin */
|
||||
}
|
||||
|
||||
/* @todo: pick a consistent list table selector */
|
||||
@@ -1622,6 +1634,7 @@ div.action-links,
|
||||
.column-tags,
|
||||
.tags .column-description,
|
||||
.media .column-parent,
|
||||
.media .column-comments,
|
||||
.users .column-email,
|
||||
.users .column-name,
|
||||
.sites .column-registered,
|
||||
@@ -1650,6 +1663,11 @@ div.action-links,
|
||||
word-wrap: normal;
|
||||
}
|
||||
|
||||
/* Media */
|
||||
.media .column-title {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* Quick Edit and Bulk Edit */
|
||||
#wpbody-content .quick-edit-row-post .inline-edit-col-left,
|
||||
#wpbody-content .quick-edit-row-post .inline-edit-col-right,
|
||||
|
||||
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
Reference in New Issue
Block a user