fix enable second icon display error + tag padding

This commit is contained in:
xiaomlove
2022-03-19 16:47:46 +08:00
parent 0578aa3752
commit b926b4ddbd
2 changed files with 9 additions and 8 deletions

View File

@@ -67,7 +67,7 @@ class TagRepository extends BaseRepository
foreach ($renderIdArr as $tagId) {
$value = $tagKeyById->get($tagId);
if ($value) {
$item = "<span style=\"background-color:{$value->color};color:white;border-radius:15%\">{$value->name}</span> ";
$item = "<span style=\"background-color:{$value->color};color:white;padding: 1px 2px\">{$value->name}</span> ";
if ($withFilterLink) {
$html .= sprintf('<a href="torrents.php?tag_id=%s">%s</a>', $tagId, $item);
} else {