1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 04:05:55 +00:00

label display: fix unneeded nested container in headlines, increase overall minimalism, fix label element typo (div1)

This commit is contained in:
Andrew Dolgov
2019-02-01 12:42:27 +03:00
parent 64bd45b51c
commit 1124c3f00a
9 changed files with 329 additions and 358 deletions

View File

@@ -624,9 +624,9 @@ class Article extends Handler_Protected {
$labels_str = "";
foreach ($labels as $l) {
$labels_str .= sprintf("<div1 class='label'
style='color : %s; background-color : %s'><i class='material-icons' style='color : %s'>label</i><div>%s</div></div1>",
$l[2], $l[3], $l[2], $l[1]);
$labels_str .= sprintf("<div class='label'
style='color : %s; background-color : %s'>%s</div>",
$l[2], $l[3], $l[1]);
}
return $labels_str;