headlines: tweak display of content preview

This commit is contained in:
Andrew Dolgov 2005-12-10 17:13:59 +01:00
parent 27f089dc81
commit de244d27f7
2 changed files with 7 additions and 3 deletions

View File

@ -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 "<td class='hlFeed'>
<a href='javascript:viewfeed($feed_id)'>".$line["feed_title"]."</a>&nbsp;</td>";
} else {
print "<td class='hlContent'>";
print "<td class='hlContent' valign='middle'>";
print "<a href=\"javascript:view($id,$feed_id);\">" .
$line["title"];

View File

@ -795,4 +795,8 @@ div.postHeader td.postDate {
display : none;
}
td.hlContent {
overflow : hidden;
height : 1em;
display : block;
}