fix: 修复移动端情况下“标签”展示未受到配置信息控制

This commit is contained in:
liuxuewen 2023-12-28 11:13:40 +08:00
parent 5f100cc4fe
commit acf37fd27f
1 changed files with 3 additions and 2 deletions

View File

@ -64,8 +64,9 @@
th:with="tags = ${tagFinder.listAll()}">
<div class="item-headline"></div>
<div class="card-tag-cloud">
<a style="font-size:14.3px;color:#d3d3d3" th:each="tag : ${tags}"
<a class="tag-item" style="font-size:1em" th:each="tag,iterStat : ${tags}"
th:href="@{${tag.status.permalink}}"
th:if="${tagQuantity >= 0 && iterStat.index < tagQuantity || tagQuantity < 0}"
th:title="${tag.spec.displayName}">
<!-- 角标 -->
[[${tag.spec.displayName}]]<sup th:text="${tag.status.visiblePostCount}"></sup>
@ -73,4 +74,4 @@
</div>
</div>
</div>
</div>
</div>