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: http://core.svn.wordpress.org/trunk@21407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ee6a92ceb7
commit
0a83a5cb02
|
@ -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