Index: wp-content/themes/twentytwelve/style.css
===================================================================
--- wp-content/themes/twentytwelve/style.css	(revision 22261)
+++ wp-content/themes/twentytwelve/style.css	(working copy)
@@ -358,10 +358,16 @@
 .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%;
 	width: auto;
