slight fix
Some checks failed
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Failing after 0s

This commit is contained in:
BOTAlex 2025-08-20 02:52:59 +02:00
parent 7a8d61d598
commit e6c498b0c2
2 changed files with 6 additions and 3 deletions

View file

@ -9,7 +9,7 @@
<div class="w-full h-72 bg-lime-200"></div>
<CustomScrollBar overflowX="scroll" overflowY="hidden" Class="">
<div class="flex w-full gap-4">
{#each { length: 4 } as i}
{#each { length: 6 } as i}
<img
src="https://placehold.co/600x400"
class="w-16 h-16 rounded object-cover"

View file

@ -26,6 +26,9 @@
export let requireAbsolute = false; // Some needs absolute for some reason. idk
export let scrollThumbText =
"-------------------------------------------------------------------------------------------------------------------------------Scroll-------------------------------------------------------------------------------------------------------------------------------";
let viewport: HTMLDivElement;
let vBar: HTMLDivElement; // vertical bar container
let hBar: HTMLDivElement; // horizontal bar container
@ -347,7 +350,7 @@
on:keydown={onVKeyDown}
>
<span class="rotate-90">
-------------------------------------------------Scroll-------------------------------------------------
{scrollThumbText}
</span>
</div>
</div>
@ -390,7 +393,7 @@
on:pointercancel={endHDrag}
on:keydown={onHKeyDown}
>
-------------------------------------------------Scroll-------------------------------------------------
{scrollThumbText}
</div>
</div>
{/if}