diff options
author | Teddy Wing | 2020-05-10 06:48:41 +0200 |
---|---|---|
committer | Teddy Wing | 2020-05-10 06:48:41 +0200 |
commit | c4b1f991e75153cadb008225608b1f47db7bb13f (patch) | |
tree | 946e14409d857c17031f4b93ee385bb6cf3cfd2b /src | |
parent | a94619a06378062f4195d970b1a46e3b7103e31c (diff) | |
download | netflix-immersive-c4b1f991e75153cadb008225608b1f47db7bb13f.tar.bz2 |
styles: Hide the white border that appears around credits
A white border appears around the frame while the credits are in
minimised mode. This is visible on the top and left sides of the frame.
Since we automatically click on the video, the white border only appears
for a second or less, but it's still visually jarring, all the more
because it shifts the position of the video.
Remove the white border, ensuring it never appears.
Diffstat (limited to 'src')
-rw-r--r-- | src/styles.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/styles.ts b/src/styles.ts index db4c4b9..73ae7c9 100644 --- a/src/styles.ts +++ b/src/styles.ts @@ -42,4 +42,12 @@ export default function styles () { }`, stylesheet.cssRules.length ); + + stylesheet.insertRule(` + /* Remove white border around credits. */ + .NFPlayer.can-resume:hover { + border: none !important; + }`, + stylesheet.cssRules.length + ); } |