From 70992d4a68dd5f0ea942a868f12d4352b46d77ee 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 --- style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index 32844c1dd..05fccec97 100644 --- a/style.css +++ b/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%;