remove mandatory truncating of post title, limit width using CSS
This commit is contained in:
parent
9170056c55
commit
c6c010d98a
|
@ -3392,14 +3392,14 @@
|
|||
$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"];
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue