From: Jef van Schendel Date: Tue, 14 Feb 2012 15:42:54 +0000 (+0100) Subject: Center small images by default X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=23f87661f0997b4c10f80116f4beebd41d38aada;p=mediagoblin.git Center small images by default --- diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index a2ba97e3..1b0b2f3e 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -158,7 +158,9 @@ footer { } img.media_image { - width: 100%; + margin-left: auto; + margin-right: auto; + display: block; } .media_sidebar { @@ -533,6 +535,7 @@ table.media_panel th { img.media_image { width: 100%; + display: inline; } .profile_sidebar {