]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove mandatory truncating of post title, limit width using CSS
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 15 Sep 2012 14:07:01 +0000 (18:07 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 15 Sep 2012 14:07:01 +0000 (18:07 +0400)
include/functions.php
tt-rss.css

index 73c2f6d5081d79e8ac4dcfbaeda9f0d9ddd1b1cf..3af4af35084471196c97a35e26262ab53fe965bc 100644 (file)
                        $rv['content'] .= "<div class=\"postDate$rtl_class\">$parsed_updated</div>";
 
                        if ($line["link"]) {
-                               $rv['content'] .= "<div class='postTitle' clear='both'><a target='_blank'
+                               $rv['content'] .= "<div class='postTitle'><a target='_blank'
                                        title=\"".htmlspecialchars($line['title'])."\"
                                        href=\"" .
                                        $line["link"] . "\">" .
-                                       truncate_string($line["title"], 100) .
+                                       $line["title"] .
                                        "<span class='author'>$entry_author</span></a></div>";
                        } else {
-                               $rv['content'] .= "<div class='postTitle' clear='both'>" . $line["title"] . "$entry_author</div>";
+                               $rv['content'] .= "<div class='postTitle'>" . $line["title"] . "$entry_author</div>";
                        }
 
                        $tag_cache = $line["tag_cache"];
index a8286ef9a4e36c8483e08650f8c6e0724ffd9214..619a03f98df1639790e5070b2e0838e6cea4416a 100644 (file)
@@ -41,6 +41,15 @@ div.postReply div.postHeader {
        color : #909090;
 }
 
+div.postReply div.postTitle {
+       overflow : hidden;
+       white-space : nowrap;
+}
+
+div.postReply div.postDate {
+       padding-left : 10px;
+}
+
 div.postReply div.postContent {
        padding : 10px;
        font-size : 12px;