Twenty Twelve: better layout for floated image captions. Fixes #23147.

git-svn-id: http://core.svn.wordpress.org/trunk@23472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-02-22 16:09:28 +00:00
parent e0fac43f8d
commit dcf72bbda1
1 changed files with 6 additions and 3 deletions

View File

@ -884,15 +884,18 @@ article.sticky .featured-post {
margin: 0 0 24px;
margin: 0 0 1.714285714rem;
}
img.alignleft {
img.alignleft,
.wp-caption.alignleft {
margin: 12px 24px 12px 0;
margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
}
img.alignright {
img.alignright,
.wp-caption.alignright {
margin: 12px 0 12px 24px;
margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
}
img.aligncenter {
img.aligncenter,
.wp-caption.aligncenter {
clear: both;
margin-top: 12px;
margin-top: 0.857142857rem;