use body instead of classname, fix styling of the banner on invidious
This commit is contained in:
parent
d57f95fba6
commit
c9d01c17a0
|
@ -80,6 +80,7 @@ if (isYouTube) {
|
|||
const backgroundColor = isYouTube ? 'var(--yt-swatch-primary)' : '#fff';
|
||||
const buttonColor = isYouTube ? 'var(--yt-swatch-text)' : '#000';
|
||||
const textColor = isYouTube ? 'var(--yt-primary-text-color)' : '#000';
|
||||
const hostSize = isYouTube ? '1.4rem' : '0.9rem';
|
||||
|
||||
const videoLink = (url, video) => htmlToElement(`
|
||||
<div id="${LINK_ID}"
|
||||
|
@ -131,7 +132,7 @@ const videoLink = (url, video) => htmlToElement(`
|
|||
${video.name}
|
||||
</p>
|
||||
|
||||
<p style="font-size: 1.4rem; margin: 0;">
|
||||
<p style="font-size: ${hostSize}; margin: 0;">
|
||||
${video.account.host}
|
||||
</p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue