From d57127cc840846f3ea8d65c5a8ae0448527933a2 Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Mon, 28 Oct 2013 13:25:36 +0100 Subject: [PATCH] make class for embedded image, and fix its height parameter so its better for small images --- css/glowingbear.css | 4 ++++ js/plugins.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/css/glowingbear.css b/css/glowingbear.css index 637ae1a..e400f81 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -304,3 +304,7 @@ li.notification { height: 15px; background: rgba(255,255,255,0.5); } + +img.embed { + max-height: 300px; +} diff --git a/js/plugins.js b/js/plugins.js index 91c6d58..33db097 100644 --- a/js/plugins.js +++ b/js/plugins.js @@ -226,7 +226,7 @@ plugins.factory('userPlugins', function() { url = url.replace(/.*\//, "http://media.fukung.net/imgs/") } - content = ''; + content = ''; } }