cdm: fix alignment of feed title in vfeeds

This commit is contained in:
Andrew Dolgov 2013-03-16 16:59:31 +04:00
parent 8349a32e75
commit d56ec7005e
2 changed files with 14 additions and 9 deletions

View File

@ -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;
}

View 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";