Skip to content

Commit

Permalink
Merge pull request #267 from Xne3/dev
Browse files Browse the repository at this point in the history
修复top_img为false情况下post-meta-categories背景为白色导致无法正常显示
  • Loading branch information
anzhiyu-c authored Sep 13, 2024
2 parents 4f0fb72 + d20edf6 commit 946b943
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions source/css/_layout/head.styl
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,8 @@ if hexo-config('dynamicEffect') && hexo-config('dynamicEffect.postTopWave')
.meta-firstline
a.post-meta-original
background: var(--anzhiyu-black)
a.post-meta-categories
background: var(--anzhiyu-black)
.article-meta__tags
color: var(--anzhiyu-black)
+maxWidth768()
Expand Down
2 changes: 1 addition & 1 deletion source/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ const anzhiyu = {

//获取音乐中的名称
musicGetName: function () {
var x = document.querySelector(".aplayer-title");
var x = document.querySelectorAll(".aplayer-title");
var arr = [];
for (var i = x.length - 1; i >= 0; i--) {
arr[i] = x[i].innerText;
Expand Down

0 comments on commit 946b943

Please sign in to comment.