From 6fd55d841d20752fbe91e0a2170af8bb94620218 Mon Sep 17 00:00:00 2001 From: Alexander Weidinger Date: Sat, 6 Oct 2018 20:47:53 +0200 Subject: [PATCH] Add css styling --- netflix-speed.user.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/netflix-speed.user.js b/netflix-speed.user.js index 2aacdf2..1fefd1c 100644 --- a/netflix-speed.user.js +++ b/netflix-speed.user.js @@ -27,12 +27,14 @@ function inject_controls() { find_controls().then(function(controls) { var speed_control = document.createElement('select'); speed_control.style.cssText = ` - border:none; + border: none; + cursor: pointer; + background: none; -moz-appearance: none; -webkit-appearance: none; appearance: none; - cursor: pointer; - background: none; + font-size: 1.96em; + padding-bottom: 0.84em; `; speed_control.onchange = function() { document.querySelector('.VideoContainer video').playbackRate = this.value;