From: Andrew Dolgov Date: Tue, 30 Jul 2013 21:22:13 +0000 (+0400) Subject: tweak the zoomed article a little bit X-Git-Tag: 1.10~60 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f035e6dc822e3b8766d55689abff26a6bf52d404;p=tt-rss.git tweak the zoomed article a little bit --- diff --git a/css/tt-rss.css b/css/tt-rss.css index f07154a3..c79e28ad 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 ccf530d1..cef0ea9e 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"]);