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:
parent
66315ec8a3
commit
46910c79e4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user