From a94619a06378062f4195d970b1a46e3b7103e31c Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 9 May 2020 03:59:47 +0200 Subject: styles: Set !important The age advisory ratings weren't properly hidden. Probably due to CSS specificity. Add `!important` to ensure that the elements we want to hide are always hidden. --- src/styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/styles.ts b/src/styles.ts index 0d5235d..db4c4b9 100644 --- a/src/styles.ts +++ b/src/styles.ts @@ -38,7 +38,7 @@ export default function styles () { a[aria-label="Skip Recap"], a[aria-label="Next Episode"], [data-uia="next-episode-seamless-button"] { - visibility: hidden; + visibility: hidden !important; }`, stylesheet.cssRules.length ); -- cgit v1.2.3