From: Andrew Dolgov Date: Sat, 10 Dec 2005 16:13:59 +0000 (+0100) Subject: headlines: tweak display of content preview X-Git-Tag: schema_freeze_for_1.1.1~76 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=de244d27f73e4088c41dc49345927e23019561cb;p=tt-rss.git headlines: tweak display of content preview --- diff --git a/backend.php b/backend.php index c087b322..73898646 100644 --- a/backend.php +++ b/backend.php @@ -1168,7 +1168,7 @@ if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) { $content_preview = truncate_string(strip_tags($line["content_preview"]), - 60); + 200); } if ($omode != "xml") { @@ -1190,7 +1190,7 @@ print " ".$line["feed_title"]." "; } else { - print ""; + print ""; print "" . $line["title"]; diff --git a/tt-rss.css b/tt-rss.css index 20b589bf..948807c9 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -795,4 +795,8 @@ div.postHeader td.postDate { display : none; } - +td.hlContent { + overflow : hidden; + height : 1em; + display : block; +}