]> git.wh0rd.org Git - tt-rss.git/commitdiff
cdm: fix alignment of feed title in vfeeds
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 16 Mar 2013 12:59:31 +0000 (16:59 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 16 Mar 2013 12:59:31 +0000 (16:59 +0400)
cdm.css
classes/feeds.php

diff --git a/cdm.css b/cdm.css
index bdbe151b71904175a3d01f366db1c04b3213796f..dbca58cf5b7b74d9cce6ab630efd32ee208b09e5 100644 (file)
--- 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;
+}
index 62142b47cb9136526a93170cceac9fca9eed2b73..a3ed951dcf26370c0dad92f21f10ad9e873a9737 100644 (file)
@@ -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'] .= "<span class=\"hlFeed\">
-                                                               <a href=\"#\" onclick=\"viewfeed($feed_id)\">".
-                                                               $line["feed_title"]."</a>
-                                                       </span>";
-                                               }
-                                       }
-
                                        if (!$expand_cdm)
                                                $content_hidden = "style=\"display : none\"";
                                        else
@@ -561,6 +552,15 @@ class Feeds extends Handler_Protected {
 
                                        $reply['content'] .= "</span>";
 
+                                       if (!get_pref($this->link, 'VFEED_GROUP_BY_FEED')) {
+                                               if (@$line["feed_title"]) {
+                                                       $reply['content'] .= "<div class=\"hlFeed\">
+                                                               <a href=\"#\" onclick=\"viewfeed($feed_id)\">".
+                                                               $line["feed_title"]."</a>
+                                                       </div>";
+                                               }
+                                       }
+
                                        $reply['content'] .= "<div style=\"vertical-align : middle\">";
                                        $reply['content'] .= "<span class='updated'>$updated_fmt</span>";
                                        $reply['content'] .= "$score_pic";