Improve styling and markup for gallery and attachment MCE views.
Attachment views can now inherit from the theme's `editor-style.css` — just have any rules that apply to the `img` tag apply to `.editor-attachment` as well. Adds a non-functional edit button to gallery views. see #21390, #21813, #21815. git-svn-id: http://core.svn.wordpress.org/trunk@22154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c93b087d29
commit
78359d7c29
|
@ -289,7 +289,8 @@ td {
|
|||
/* =Images
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
img {
|
||||
img,
|
||||
.editor-attachment {
|
||||
border: 0;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
|
||||
|
|
Loading…
Reference in New Issue