Display gallery and attachment MCE views as inline blocks. Make gallery MCE view wrappers block level. see #21390, #21813, #21815.
git-svn-id: http://core.svn.wordpress.org/trunk@22221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5c9fa8ee8f
commit
5302794b9b
|
@ -262,6 +262,7 @@ img.wp-oembed {
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-attachment {
|
.editor-attachment {
|
||||||
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
@ -283,7 +284,12 @@ img.wp-oembed {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-view-type-gallery {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.editor-gallery {
|
.editor-gallery {
|
||||||
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 150px;
|
min-height: 150px;
|
||||||
min-width: 150px;
|
min-width: 150px;
|
||||||
|
|
Loading…
Reference in New Issue