fix(tags): 修复开启标签颜色时侧边标签颜色展示错误问题

This commit is contained in:
nineya 2023-12-06 19:24:35 +08:00
parent 61492ad105
commit 5e0d301095

View File

@ -15,6 +15,6 @@
th:each="tag : ${tags}" th:each="tag : ${tags}"
th:href="@{${tag.status.permalink}}" th:href="@{${tag.status.permalink}}"
th:text="${tag.spec.displayName}" th:text="${tag.spec.displayName}"
th:style="${enableTagsColor? 'color: ' + tag.spec.color +'; border-color: ' + tag.spec.color +'20;' : ''}"></a> th:style="${enableTagsColor? 'color: ' + tag.spec.color +'; border-color: ' + tag.spec.color +'; background: ' + tag.spec.color +'20;' : ''}"></a>
</div> </div>
</div> </div>