tweak the zoomed article a little bit

This commit is contained in:
Andrew Dolgov 2013-07-31 01:22:13 +04:00
parent 491ef97072
commit f035e6dc82
2 changed files with 15 additions and 3 deletions

View File

@ -382,7 +382,7 @@ span.hlLabelRef {
div.postHeader div.postDate {
text-align : right;
color : #555;
color : #909090;
float : right;
}
@ -1014,10 +1014,18 @@ body#ttrssZoom {
margin-left : auto;
margin-right : auto;
padding : 20px;
max-width : 800px;
max-width : 670px;
background : #f9fbff;
}
body#ttrssZoom div.postHeader div.postDate {
float : none;
text-align : left;
padding-left : 0px;
color : #777;
font-size : 10px;
}
body#ttrssZoom div.postContent p {
max-width : 650px;
text-align : justify;

View File

@ -3201,7 +3201,8 @@
$parsed_updated = make_local_datetime($line["updated"], true,
$owner_uid, true);
$rv['content'] .= "<div class=\"postDate\">$parsed_updated</div>";
if (!$zoom_mode)
$rv['content'] .= "<div class=\"postDate\">$parsed_updated</div>";
if ($line["link"]) {
$rv['content'] .= "<div class='postTitle'><a target='_blank'
@ -3214,6 +3215,9 @@
$rv['content'] .= "<div class='postTitle'>" . $line["title"] . "$entry_author</div>";
}
if ($zoom_mode)
$rv['content'] .= "<div class=\"postDate\">$parsed_updated</div>";
$tags_str = format_tags_string($line["tags"], $id);
$tags_str_full = join(", ", $line["tags"]);