From 1df791ca52791bca4fb8bf731c977a715775fe4e Mon Sep 17 00:00:00 2001 From: rlauu <46294892+rlauu@users.noreply.github.com> Date: Wed, 13 Mar 2024 14:25:00 +0100 Subject: [PATCH] Style fix Adjust the scale factor to ensure visual consistency. Currently, the default scale factor causes the 'skip intro' text to appear disproportionately larger than the surrounding box upon selection of the skip button within the TV layout. This reduces the scale factor appropriately. --- .../Configuration/inject.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/inject.js b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/inject.js index 1a5fe41..87746ab 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/inject.js +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/inject.js @@ -73,6 +73,10 @@ introSkipper.injectCss = function () { } } + #skipIntro .paper-icon-button-light.show-focus:focus { + transform: scale(1.04) !important; + } + #skipIntro.upNextContainer { width: unset; } @@ -215,4 +219,4 @@ introSkipper.secureFetch = async function (url) { if (res.status !== 200) { throw new Error(`Expected status 200 from ${url}, but got ${res.status}`); } return await res.json(); } -introSkipper.setup(); \ No newline at end of file +introSkipper.setup();