MCE Views: Add alignment styles for generic views.
Adds `alignnone`, `aligncenter`, `alignleft`, and `alignright` by default. see #21390, #21812, #21813. git-svn-id: http://core.svn.wordpress.org/trunk@22219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
822cb864c4
commit
dbbcd85ce3
|
@ -161,6 +161,23 @@ img.wp-oembed {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-view-wrap.alignnone {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-view-wrap.aligncenter {
|
||||||
|
display: block;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-view-wrap.alignleft {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-view-wrap.alignright {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-view-wrap .overlay {
|
.wp-view-wrap .overlay {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
Loading…
Reference in New Issue