summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/tt-rss.css12
-rw-r--r--include/functions.php6
2 files changed, 15 insertions, 3 deletions
diff --git a/css/tt-rss.css b/css/tt-rss.css
index f07154a3b..c79e28ad5 100644
--- a/css/tt-rss.css
+++ b/css/tt-rss.css
@@ -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;
diff --git a/include/functions.php b/include/functions.php
index ccf530d17..cef0ea9eb 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -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"]);