mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-29 15:05:52 +01:00
Twenty Thirteen: ensure galleries are displayed correctly (centered) on both single and indexed views, props obenland. See #24307.
git-svn-id: http://core.svn.wordpress.org/trunk@24285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
99385899b2
commit
3ac84ecc76
@ -1244,10 +1244,10 @@ footer.entry-meta {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.single .gallery-columns-1.gallery-size-medium,
|
||||
.single .gallery-columns-1.gallery-size-thumbnail,
|
||||
.single .gallery-columns-2.gallery-size-thumbnail,
|
||||
.single .gallery-columns-3.gallery-size-thumbnail {
|
||||
.gallery-columns-1.gallery-size-medium,
|
||||
.gallery-columns-1.gallery-size-thumbnail,
|
||||
.gallery-columns-2.gallery-size-thumbnail,
|
||||
.gallery-columns-3.gallery-size-thumbnail {
|
||||
display: table;
|
||||
margin: 0 auto 20px;
|
||||
}
|
||||
@ -1532,6 +1532,7 @@ footer.entry-meta {
|
||||
.archive .format-gallery .gallery,
|
||||
.search .format-gallery .gallery {
|
||||
margin-bottom: 20px;
|
||||
margin-left: -4px;
|
||||
max-width: 608px;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user