From: Andrew Dolgov Date: Mon, 7 Nov 2011 12:19:43 +0000 (+0400) Subject: use css table layout in cdmHeader (fixes #383) X-Git-Tag: 1.5.7~44 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=915b61ef3b905c10f636756336b37ca9ef054196;p=tt-rss.git use css table layout in cdmHeader (fixes #383) --- diff --git a/cdm.css b/cdm.css index 0b4e2f01..0e9b0468 100644 --- a/cdm.css +++ b/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; diff --git a/functions.php b/functions.php index 4c4f7687..3e591ea4 100644 --- a/functions.php +++ b/functions.php @@ -5379,18 +5379,7 @@ $reply['content'] .= "
"; - $reply['content'] .= "
"; - $reply['content'] .= "$updated_fmt"; - $reply['content'] .= "$score_pic"; - - if (!get_pref($link, "VFEED_GROUP_BY_FEED") && $line["feed_title"]) { - $reply['content'] .= "$feed_icon_img"; - } - $reply['content'] .= "
$update_pic
"; - - $reply['content'] .= "
"; + $reply['content'] .= "
"; $reply['content'] .= ""; @@ -5398,6 +5387,8 @@ $reply['content'] .= "$marked_pic"; $reply['content'] .= "$published_pic"; + $reply['content'] .= "
"; + $reply['content'] .= " @@ -5430,6 +5421,18 @@ $reply['content'] .= ""; + $reply['content'] .= "
"; + $reply['content'] .= "$updated_fmt"; + $reply['content'] .= "$score_pic"; + + if (!get_pref($link, "VFEED_GROUP_BY_FEED") && $line["feed_title"]) { + $reply['content'] .= "$feed_icon_img"; + } + $reply['content'] .= "
$update_pic
"; + $reply['content'] .= "
"; + $reply['content'] .= "
"; $reply['content'] .= "