Add a delete link to the media modal.
Props merty, nacin, koopersmith fixes #22524 git-svn-id: http://core.svn.wordpress.org/trunk@22869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1191,6 +1191,18 @@ a.media-modal-close {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.attachment-info .delete-attachment a {
|
||||
color: red;
|
||||
padding: 2px 4px;
|
||||
margin: -2px -4px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.attachment-info .delete-attachment a:hover {
|
||||
color: #fff;
|
||||
background: red;
|
||||
}
|
||||
|
||||
/**
|
||||
* Attachment Display Settings
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user