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:
Daryl Koopersmith 2012-10-12 18:32:12 +00:00
parent 822cb864c4
commit dbbcd85ce3
1 changed files with 17 additions and 0 deletions

View File

@ -161,6 +161,23 @@ img.wp-oembed {
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 {
opacity: 0;
display: block;