mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Twenty Twelve: add max-width rule to help captions not overflow their container at small window sizes. Props chriswallace and obenland, fixes #21383.
git-svn-id: https://develop.svn.wordpress.org/trunk@21407 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -317,6 +317,7 @@ img.wp-post-image {
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
.wp-caption {
|
||||
max-width: 100%; /* Keep wide captions from overflowing their container. */
|
||||
padding: 4px;
|
||||
}
|
||||
.wp-caption .wp-caption-text,
|
||||
|
||||
Reference in New Issue
Block a user