From e223d125205ace18738f24e30330abb3d3993563 Mon Sep 17 00:00:00 2001 From: Ajay Date: Sun, 3 Jul 2022 16:42:45 -0400 Subject: [PATCH] Fix scrubbing on mobile --- public/content.css | 2 +- src/content.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/content.css b/public/content.css index 9836ae3c..7ffeac4b 100644 --- a/public/content.css +++ b/public/content.css @@ -17,7 +17,7 @@ transition: transform .1s cubic-bezier(0,0,0.2,1); } -.ytm-progress-bar > #previewbar { +.progress-bar-line > #previewbar { height: 3px; } diff --git a/src/content.ts b/src/content.ts index 80e9574f..f390340a 100644 --- a/src/content.ts +++ b/src/content.ts @@ -424,7 +424,7 @@ function createPreviewBar(): void { isVisibleCheck: true }, { // For new mobile YouTube (#1287) - selector: ".ytm-progress-bar", + selector: ".progress-bar-line", isVisibleCheck: true }, { // For Desktop YouTube