Twenty Twelve: fix centering of image captions on image attachment view. Fixes #21530.

git-svn-id: http://core.svn.wordpress.org/trunk@21518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2012-08-15 05:30:36 +00:00
parent 632e41fe7d
commit 175a38d2d4
1 changed files with 3 additions and 0 deletions

View File

@ -986,6 +986,9 @@ footer .edit-link {
overflow: hidden; overflow: hidden;
text-align: center; text-align: center;
} }
.image-attachment div.attachment p {
text-align: center;
}
.image-attachment div.attachment img { .image-attachment div.attachment img {
display: block; display: block;
height: auto; height: auto;