From c6c010d98a7c67d00c55351b226bfaffb5dcd40d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 15 Sep 2012 18:07:01 +0400 Subject: [PATCH] remove mandatory truncating of post title, limit width using CSS --- include/functions.php | 6 +++--- tt-rss.css | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/include/functions.php b/include/functions.php index 73c2f6d5..3af4af35 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3392,14 +3392,14 @@ $rv['content'] .= "
$parsed_updated
"; if ($line["link"]) { - $rv['content'] .= "
" . - truncate_string($line["title"], 100) . + $line["title"] . "$entry_author
"; } else { - $rv['content'] .= "
" . $line["title"] . "$entry_author
"; + $rv['content'] .= "
" . $line["title"] . "$entry_author
"; } $tag_cache = $line["tag_cache"]; diff --git a/tt-rss.css b/tt-rss.css index a8286ef9..619a03f9 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -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; -- 2.39.5