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

exp: tweak headline label styles

This commit is contained in:
Andrew Dolgov
2018-12-10 21:39:12 +03:00
parent ad5a43bf66
commit 93dfdb2fcd
7 changed files with 44 additions and 34 deletions

View File

@@ -629,9 +629,9 @@ class Article extends Handler_Protected {
$labels_str = "";
foreach ($labels as $l) {
$labels_str .= sprintf("<span class='hlLabelRef'
style='color : %s; background-color : %s'>%s</span>",
$l[2], $l[3], $l[1]);
$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]);
}
return $labels_str;