From f035e6dc822e3b8766d55689abff26a6bf52d404 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 31 Jul 2013 01:22:13 +0400 Subject: tweak the zoomed article a little bit --- css/tt-rss.css | 12 ++++++++++-- include/functions.php | 6 +++++- 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'] .= "
$parsed_updated
"; + if (!$zoom_mode) + $rv['content'] .= "
$parsed_updated
"; if ($line["link"]) { $rv['content'] .= "
"; } + if ($zoom_mode) + $rv['content'] .= "
$parsed_updated
"; + $tags_str = format_tags_string($line["tags"], $id); $tags_str_full = join(", ", $line["tags"]); -- cgit v1.2.3