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