From c9d01c17a0e7a6120470c15d4b55cf3c653a47bd Mon Sep 17 00:00:00 2001 From: Booteille Date: Sun, 17 Feb 2019 20:26:49 +0100 Subject: [PATCH] use body instead of classname, fix styling of the banner on invidious --- src/youtube.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/youtube.ts b/src/youtube.ts index accd9a4..3f17f0e 100644 --- a/src/youtube.ts +++ b/src/youtube.ts @@ -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(`