[READ-ONLY] Mirror of https://github.com/probablykasper/ferrum. Music library app for Mac, Linux and Windows ferrum.kasper.space
electron linux macos music music-library music-player napi windows
0

Configure Feed

Select the types of activity you want to include in your feed.

Fix slider thumb overflow

Kasper (Sep 12, 2024, 6:48 AM +0200) b96f99b4 7690d280

+2 -1
+2 -1
src/components/Slider.svelte
··· 80 80 <!-- We also don't use the Web Animation API, because somehow that had way higher CPU usage for me --> 81 81 <div class="slider{` ${klass}`.trimEnd()}" {...$$restProps}> 82 82 <!-- svelte-ignore a11y-no-static-element-interactions --> 83 + <!-- Make sure it has enough padding for the thumb to not overflow --> 83 84 <div 84 - class="group flex h-5 w-full items-center justify-center overflow-hidden py-2 px-1" 85 + class="group flex h-5 w-full items-center justify-center overflow-hidden p-2" 85 86 on:mousedown={(e) => { 86 87 apply(e) 87 88 dragging = true