From 23f87661f0997b4c10f80116f4beebd41d38aada Mon Sep 17 00:00:00 2001 From: Jef van Schendel Date: Tue, 14 Feb 2012 16:42:54 +0100 Subject: [PATCH] Center small images by default --- mediagoblin/static/css/base.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 { -- 2.25.1