feat: increase sidebar hitbox
Some checks failed
TrafficCue CI / check (push) Successful in 58s
TrafficCue CI / build-android (push) Has been cancelled
TrafficCue CI / build (push) Has been cancelled

This commit is contained in:
Cfp
2025-09-17 12:19:01 +02:00
parent 8d3546d0a8
commit 86595e2171

View File

@ -174,9 +174,9 @@
> >
{#if mobileView} {#if mobileView}
<div <div
style="position: absolute; top: 0; left: 0; right: 0; height: 20px; touch-action: none; cursor: grab;"
role="button" role="button"
id="grabber" id="grabber"
style="height: 10px; cursor: grab; display: flex; justify-content: center; align-items: center; touch-action: none;"
ontouchstart={(e) => { ontouchstart={(e) => {
isDragging = true; isDragging = true;
startY = e.touches[0].clientY; startY = e.touches[0].clientY;
@ -201,6 +201,9 @@
if (!isDragging) return; if (!isDragging) return;
isDragging = false; isDragging = false;
}} }}
></div>
<div
style="height: 10px; display: flex; justify-content: center; align-items: center;"
> >
<div <div
style="height: 8px; background-color: #acacac; width: 40%; border-radius: 15px;" style="height: 8px; background-color: #acacac; width: 40%; border-radius: 15px;"