From c4b1f991e75153cadb008225608b1f47db7bb13f Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 10 May 2020 06:48:41 +0200 Subject: 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. --- src/styles.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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 + ); } -- cgit v1.2.3