From 853686b36ce78244dc33030d539d7a5ef830394d Mon Sep 17 00:00:00 2001 From: Jack Date: Thu, 26 Aug 2021 23:13:56 +0100 Subject: [PATCH] this somehow makes chrome sliders work --- src/sass/style.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/sass/style.scss b/src/sass/style.scss index 45a36722f..86ecb1e44 100644 --- a/src/sass/style.scss +++ b/src/sass/style.scss @@ -54,7 +54,16 @@ input[type="range"] { width: 100%; height: 1rem; border-radius: var(--roundness); - &::-webkit-slider-thumb, + &::-webkit-slider-thumb { + -webkit-appearance: none; + padding: 0; + border: none; + width: 2rem; + height: 1rem; + border-radius: var(--roundness); + background-color: var(--main-color); + } + &::-moz-range-thumb { -webkit-appearance: none; padding: 0;