summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--css/news.css5
-rw-r--r--js/items.js2
2 files changed, 7 insertions, 0 deletions
diff --git a/css/news.css b/css/news.css
index 40772a556..e4de3cdc1 100644
--- a/css/news.css
+++ b/css/news.css
@@ -557,6 +557,11 @@ div.add_parentfolder {
max-width: 55em;
}
+ .feed_item div.body img.thumbnail {
+ padding: 0 1em 0 0;
+ float: left;
+ }
+
.feed_item div.body h1, .feed_item div.body h2 {
font-size: 1.25em;
font-weight: bold;
diff --git a/js/items.js b/js/items.js
index b84f93f67..8c80b6073 100644
--- a/js/items.js
+++ b/js/items.js
@@ -409,6 +409,8 @@ var News = News || {};
this._read = this._$html.hasClass('read');
this._locked = false;
this._important = this._$html.find('li.star').hasClass('important');
+ this._$html.children('.body').children('img:first-child').addClass('thumbnail');
+
var $stamp = this._$html.find('.timestamp');
this._timestamp = parseInt($stamp.html());
$stamp.remove();