center media within media container
authorjpope <jpope@jpope.org>
Wed, 8 Jan 2014 01:46:58 +0000 (19:46 -0600)
committerjpope <jpope@jpope.org>
Wed, 8 Jan 2014 01:46:58 +0000 (19:46 -0600)
mediagoblin/static/css/base.css

index aa2987c1d22dab560ece8a66ac8a2ff5c65ce62f..6b7ca3f62d5e71462d0a8966542ba34c8d30589c 100644 (file)
@@ -195,11 +195,13 @@ footer {
   margin-right: 0;
 }
 
+.media_image_container {
+  display: flex;
+  justify-content: center;
+}
+
 .media_image {
   max-width: 100%;
-  margin-left:auto;
-  margin-right:auto;
-  display:block;
 }
 
 .media_pane {
@@ -823,7 +825,7 @@ pre {
   }
 
   .media_thumbnail {
-    width: 21%;
+/*    width: 21%;*/
   }
 
   .profile_sidebar {