Skip to content

Commit

Permalink
Merge pull request #4043 from deepdarkssj/preview-fixes
Browse files Browse the repository at this point in the history
fix extend-live
  • Loading branch information
the1812 committed Mar 9, 2023
2 parents acce7a1 + 805dfdf commit f836a62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion registry/lib/components/feeds/extend-live/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,12 @@ const entry = async () => {
}
const face = dq(
clone,
'.live-up-img, .bili-dyn-live-users__item__face .bili-awesome-img',
'.live-up-img, .bili-dyn-live-users__item__face, .bili-awesome-img',
) as HTMLElement
face.style.backgroundImage = `url(${it.face})`
face.style.backgroundSize = 'cover'
const facepic = dq(clone, '.b-img--face') as HTMLElement
facepic.style.visibility = 'hidden'
const title = dq(clone, '.live-name, .bili-dyn-live-users__item__title') as HTMLElement
title.innerHTML = it.title
title.title = it.title
Expand Down

0 comments on commit f836a62

Please sign in to comment.