From 199121d3f13c5f842d76d0f5d3db2606d6319dcb Mon Sep 17 00:00:00 2001 From: Meekdai Date: Tue, 21 Nov 2023 21:02:49 +0800 Subject: [PATCH] Update tag.html --- templates/tag.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/tag.html b/templates/tag.html index 41b9d91..450e993 100644 --- a/templates/tag.html +++ b/templates/tag.html @@ -10,7 +10,7 @@ h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font- .title-right .circle{padding: 14px 16px;margin-right:8px;} .SideNav-icon{margin-right: 16px} -.SideNav-item .Label{color: #fff;margin-left:8px;} +.Label{color: #fff;margin-left:8px;} .genTime{float: right;} .d-flex{min-width:0;} .listTitle{overflow:hidden;white-space:nowrap;text-overflow: ellipsis;max-width: 100%;} @@ -88,7 +88,7 @@ function showList(jsonData){ if(!(jsonData["postListJson"][i]['label'] in tagList)){ tagList.push(jsonData["postListJson"][i]['label']); - let showLabels=document.createElement("span"); + let showLabels=document.createElement("a"); showLabels.setAttribute("class","Label"); showLabels.setAttribute("style","background-color:"+jsonData["postListJson"][i]['labelColor']); showLabels.innerHTML=jsonData["postListJson"][i]['label'];