use css table layout in cdmHeader (fixes #383)
This commit is contained in:
parent
2836406763
commit
915b61ef3b
13
cdm.css
13
cdm.css
|
@ -3,9 +3,22 @@ div.cdmHeader img, div.cdmHeader input, div.cdmFooter img {
|
|||
}
|
||||
|
||||
div.cdmHeader {
|
||||
display : table;
|
||||
}
|
||||
|
||||
div.cdmHeader > * {
|
||||
display : table-cell;
|
||||
padding : 5px;
|
||||
}
|
||||
|
||||
div.cdmHeader > div {
|
||||
white-space : nowrap;
|
||||
}
|
||||
|
||||
div.cdmHeader > span {
|
||||
width : 100%;
|
||||
}
|
||||
|
||||
div.cdmHeader span.updated {
|
||||
color : gray;
|
||||
font-weight : normal;
|
||||
|
|
|
@ -5379,18 +5379,7 @@
|
|||
|
||||
$reply['content'] .= "<div class=\"cdmHeader\">";
|
||||
|
||||
$reply['content'] .= "<div style='float : right'>";
|
||||
$reply['content'] .= "<span class='updated'>$updated_fmt</span>";
|
||||
$reply['content'] .= "$score_pic";
|
||||
|
||||
if (!get_pref($link, "VFEED_GROUP_BY_FEED") && $line["feed_title"]) {
|
||||
$reply['content'] .= "<span style=\"cursor : pointer\"
|
||||
title=\"".htmlspecialchars($line["feed_title"])."\"
|
||||
onclick=\"viewfeed($feed_id)\">$feed_icon_img</span>";
|
||||
}
|
||||
$reply['content'] .= "<div class=\"updPic\">$update_pic</div>";
|
||||
|
||||
$reply['content'] .= "</div>";
|
||||
$reply['content'] .= "<div>";
|
||||
|
||||
$reply['content'] .= "<input type=\"checkbox\" onclick=\"toggleSelectRowById(this,
|
||||
'RROW-$id')\" id=\"RCHK-$id\"/>";
|
||||
|
@ -5398,6 +5387,8 @@
|
|||
$reply['content'] .= "$marked_pic";
|
||||
$reply['content'] .= "$published_pic";
|
||||
|
||||
$reply['content'] .= "</div>";
|
||||
|
||||
$reply['content'] .= "<span id=\"RTITLE-$id\"
|
||||
onclick=\"return cdmClicked(event, $id);\"
|
||||
class=\"titleWrap$hlc_suffix\">
|
||||
|
@ -5430,6 +5421,18 @@
|
|||
|
||||
$reply['content'] .= "</span>";
|
||||
|
||||
$reply['content'] .= "<div>";
|
||||
$reply['content'] .= "<span class='updated'>$updated_fmt</span>";
|
||||
$reply['content'] .= "$score_pic";
|
||||
|
||||
if (!get_pref($link, "VFEED_GROUP_BY_FEED") && $line["feed_title"]) {
|
||||
$reply['content'] .= "<span style=\"cursor : pointer\"
|
||||
title=\"".htmlspecialchars($line["feed_title"])."\"
|
||||
onclick=\"viewfeed($feed_id)\">$feed_icon_img</span>";
|
||||
}
|
||||
$reply['content'] .= "<div class=\"updPic\">$update_pic</div>";
|
||||
$reply['content'] .= "</div>";
|
||||
|
||||
$reply['content'] .= "</div>";
|
||||
|
||||
$reply['content'] .= "<div class=\"cdmContent\" $content_hidden
|
||||
|
|
Loading…
Reference in New Issue