[web] Make slider handle bigger on mobile devices

The handle of sliders - volume and progress - is now better reachable on mobile devices
This commit is contained in:
Alain Nussbaumer 2023-06-23 20:43:22 +02:00
parent 395dd0e3d4
commit 181a0f171d

View File

@ -285,6 +285,9 @@ hr.fd-navbar-divider {
input[type='range'].slider {
--sh: 0.5rem;
--th: calc(var(--sh) * 1.75);
@include mobile {
--th: calc(var(--sh) * 2.5);
}
--sx: calc(var(--th) / 2 + (var(--ratio) * (100% - var(--th))));
-webkit-appearance: none;
min-width: 250px;