1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-09 19:15:42 +02:00

added padding to first img child to mark it as thumbnail

This commit is contained in:
Bernhard Posselt 2012-09-05 20:31:19 +02:00
parent 9b971c54b0
commit bfd20019d5
2 changed files with 7 additions and 0 deletions

View File

@ -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;

View File

@ -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();