From: Andrew Dolgov Date: Sat, 16 Mar 2013 12:59:31 +0000 (+0400) Subject: cdm: fix alignment of feed title in vfeeds X-Git-Tag: 1.7.5~160 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d56ec7005e4f903606265fb8857e6438329da60e;p=tt-rss.git cdm: fix alignment of feed title in vfeeds --- diff --git a/cdm.css b/cdm.css index bdbe151b..dbca58cf 100644 --- a/cdm.css +++ b/cdm.css @@ -125,3 +125,8 @@ div.cdm.even.Unread, div.cdm.odd.Unread { div.cdm.even, div.cdm.odd { background : #f0f0f0; } + +div.cdmHeader div.hlFeed, div.cdmHeader div.hlFeed a { + vertical-align : middle; + color : gray; +} diff --git a/classes/feeds.php b/classes/feeds.php index 62142b47..a3ed951d 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -542,15 +542,6 @@ class Feeds extends Handler_Protected { $reply['content'] .= $labels_str; - if (!get_pref($this->link, 'VFEED_GROUP_BY_FEED')) { - if (@$line["feed_title"]) { - $reply['content'] .= " - ". - $line["feed_title"]." - "; - } - } - if (!$expand_cdm) $content_hidden = "style=\"display : none\""; else @@ -561,6 +552,15 @@ class Feeds extends Handler_Protected { $reply['content'] .= ""; + if (!get_pref($this->link, 'VFEED_GROUP_BY_FEED')) { + if (@$line["feed_title"]) { + $reply['content'] .= "
+ ". + $line["feed_title"]." +
"; + } + } + $reply['content'] .= "
"; $reply['content'] .= "$updated_fmt"; $reply['content'] .= "$score_pic";