]> git.wh0rd.org Git - tt-rss.git/commitdiff
headlines: tweak display of content preview
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 10 Dec 2005 16:13:59 +0000 (17:13 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 10 Dec 2005 16:13:59 +0000 (17:13 +0100)
backend.php
tt-rss.css

index c087b3225ab5fb7066e17e9516e9eaf6836ab905..73898646766b236d619d77bdeb893995dfb752a6 100644 (file)
 
                                if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {
                                        $content_preview = truncate_string(strip_tags($line["content_preview"]), 
-                                               60);
+                                               200);
                                }
 
                                if ($omode != "xml") {
                                                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"];
index 20b589bfcd555a862a6573cc84219fc1cac85dc8..948807c950d30065c856a1e3d9cf0408614c5232 100644 (file)
@@ -795,4 +795,8 @@ div.postHeader td.postDate {
        display : none;
 }
 
-
+td.hlContent {
+       overflow : hidden;
+       height : 1em;
+       display : block;
+}