From de244d27f73e4088c41dc49345927e23019561cb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 10 Dec 2005 17:13:59 +0100 Subject: [PATCH] headlines: tweak display of content preview --- backend.php | 4 ++-- tt-rss.css | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/backend.php b/backend.php index c087b3225..738986467 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 20b589bfc..948807c95 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; +}