Update tag.html

This commit is contained in:
Meekdai 2023-11-21 21:02:49 +08:00
parent 93e0487703
commit 199121d3f1

View File

@ -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'];