cdm: fix alignment of feed title in vfeeds
This commit is contained in:
parent
8349a32e75
commit
d56ec7005e
2 changed files with 14 additions and 9 deletions
5
cdm.css
5
cdm.css
|
@ -125,3 +125,8 @@ div.cdm.even.Unread, div.cdm.odd.Unread {
|
||||||
div.cdm.even, div.cdm.odd {
|
div.cdm.even, div.cdm.odd {
|
||||||
background : #f0f0f0;
|
background : #f0f0f0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.cdmHeader div.hlFeed, div.cdmHeader div.hlFeed a {
|
||||||
|
vertical-align : middle;
|
||||||
|
color : gray;
|
||||||
|
}
|
||||||
|
|
|
@ -542,15 +542,6 @@ class Feeds extends Handler_Protected {
|
||||||
|
|
||||||
$reply['content'] .= $labels_str;
|
$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)
|
if (!$expand_cdm)
|
||||||
$content_hidden = "style=\"display : none\"";
|
$content_hidden = "style=\"display : none\"";
|
||||||
else
|
else
|
||||||
|
@ -561,6 +552,15 @@ class Feeds extends Handler_Protected {
|
||||||
|
|
||||||
$reply['content'] .= "</span>";
|
$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'] .= "<div style=\"vertical-align : middle\">";
|
||||||
$reply['content'] .= "<span class='updated'>$updated_fmt</span>";
|
$reply['content'] .= "<span class='updated'>$updated_fmt</span>";
|
||||||
$reply['content'] .= "$score_pic";
|
$reply['content'] .= "$score_pic";
|
||||||
|
|
Loading…
Reference in a new issue