From 9dff1d32652f0cf3c36764bf41480487dd0f6e25 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 25 Oct 2012 16:01:23 +0000 Subject: [PATCH] Twenty Twelve: fix style for links in gallery captions wrapping to next line, props DrewAPicture. Fixes #22227. git-svn-id: http://core.svn.wordpress.org/trunk@22294 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwelve/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwelve/style.css b/wp-content/themes/twentytwelve/style.css index 32844c1dd2..05fccec970 100644 --- a/wp-content/themes/twentytwelve/style.css +++ b/wp-content/themes/twentytwelve/style.css @@ -358,9 +358,15 @@ img.wp-smiley, .entry-content dl.gallery-item { margin: 0; } +.gallery-item a, +.gallery-caption { + width: 90%; +} .gallery-item a { display: block; - width: 90%; +} +.gallery-caption a { + display: inline; } .gallery-columns-1 .gallery-item a { max-width: 100%;