From c8873acac766f4ab053e234a693dea1f14626a6a Mon Sep 17 00:00:00 2001 From: xhiroga Date: Sat, 29 Jul 2023 09:35:23 +0900 Subject: [PATCH] chore: fix footer selector --- src/content.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/content.ts b/src/content.ts index 7b824ae..0cca10e 100644 --- a/src/content.ts +++ b/src/content.ts @@ -225,16 +225,10 @@ const updateNavigationStyle = ( background-color: ${navigationBackgroundColor} !important; } } - div#awsc-nav-footer-content { + #awsc-nav-footer-content { background-color: ${navigationBackgroundColor} !important; } - div#awsc-feedback, - button[data-testid="awsc-footer-language-selector-button"], - a[data-testid="awsc-footer-privacy-policy"], - a[data-testid="awsc-footer-terms-of-use"], - span[data-testid="awsc-footer-unified-settings-language-link"], - button[data-testid="awsc-footer-cookie-preferences"], - span[data-testid="awsc-footer-copyright"] { + #awsc-nav-footer-content * { color: ${foregroundColor} !important; }` insertStyleTag(css)