aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2020-05-09 03:59:47 +0200
committerTeddy Wing2020-05-09 03:59:47 +0200
commita94619a06378062f4195d970b1a46e3b7103e31c (patch)
tree9180e41db8961f781a206aa307e9f6ace4052dd2 /src
parent9eecf1c6be59ff3c04152390d7ce556e36965fd8 (diff)
downloadnetflix-immersive-a94619a06378062f4195d970b1a46e3b7103e31c.tar.bz2
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.
Diffstat (limited to 'src')
-rw-r--r--src/styles.ts2
1 files changed, 1 insertions, 1 deletions
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
);