From 05a69bcb88d6159364caee7f47352fba3cde9349 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 31 Mar 2017 14:08:19 +0200 Subject: [PATCH] Nicer handling of images and smileys Allow images to go up to 300px, and explicitly make wordpress smileys (since we have lot of wordpress blogs) normal size and inline instead of overriding them. Petr Jelinek --- www/css/planet.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/www/css/planet.css b/www/css/planet.css index 854cdeb..eb4e820 100644 --- a/www/css/planet.css +++ b/www/css/planet.css @@ -99,10 +99,19 @@ div.planetPostContent img { margin-left: auto; margin-right: auto; max-height: 100px; - max-width: 100px; + max-width: 300px; + width: auto; + height: auto; clear: left; } +div.planetPostContent img.wp-smiley { + display: inline-block; + height: 1em; + max-width: 2em; + width: auto; +} + div#planetRight { width: 280px; margin-top: 10px; -- 2.39.5