Skip to content

Commit c01ba8e

Browse files
committed
fix(Crunchyroll): correct styles for slider and speed display
1 parent 52086f8 commit c01ba8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content-script/crunchyroll.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ async function CrunchyrollGobackbutton(startTime: number, endTime: number) {
243243
}
244244

245245
const videoSpeed: Ref<number> = ref(1)
246-
const CrunchyrollSliderStyle = "display: none;margin: auto;;width:200px;"
247-
const CrunchyrollSpeedStyle = "color: white;margin: auto;padding: 0 5px;"
246+
const CrunchyrollSliderStyle = "display: none;margin: auto;width:200px;"
247+
const CrunchyrollSpeedStyle = "color: white;margin: auto;padding: 0 5px;width: 40px;"
248248
async function Crunchyroll_SpeedSlider(video: HTMLVideoElement) {
249249
if (video) {
250250
const alreadySlider = document.querySelector("#videoSpeedSlider")

0 commit comments

Comments
 (0)