slight fix
Some checks failed
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Failing after 0s
Some checks failed
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Failing after 0s
This commit is contained in:
parent
7a8d61d598
commit
e6c498b0c2
2 changed files with 6 additions and 3 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
<div class="w-full h-72 bg-lime-200"></div>
|
<div class="w-full h-72 bg-lime-200"></div>
|
||||||
<CustomScrollBar overflowX="scroll" overflowY="hidden" Class="">
|
<CustomScrollBar overflowX="scroll" overflowY="hidden" Class="">
|
||||||
<div class="flex w-full gap-4">
|
<div class="flex w-full gap-4">
|
||||||
{#each { length: 4 } as i}
|
{#each { length: 6 } as i}
|
||||||
<img
|
<img
|
||||||
src="https://placehold.co/600x400"
|
src="https://placehold.co/600x400"
|
||||||
class="w-16 h-16 rounded object-cover"
|
class="w-16 h-16 rounded object-cover"
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,9 @@
|
||||||
|
|
||||||
export let requireAbsolute = false; // Some needs absolute for some reason. idk
|
export let requireAbsolute = false; // Some needs absolute for some reason. idk
|
||||||
|
|
||||||
|
export let scrollThumbText =
|
||||||
|
"-------------------------------------------------------------------------------------------------------------------------------Scroll-------------------------------------------------------------------------------------------------------------------------------";
|
||||||
|
|
||||||
let viewport: HTMLDivElement;
|
let viewport: HTMLDivElement;
|
||||||
let vBar: HTMLDivElement; // vertical bar container
|
let vBar: HTMLDivElement; // vertical bar container
|
||||||
let hBar: HTMLDivElement; // horizontal bar container
|
let hBar: HTMLDivElement; // horizontal bar container
|
||||||
|
|
@ -347,7 +350,7 @@
|
||||||
on:keydown={onVKeyDown}
|
on:keydown={onVKeyDown}
|
||||||
>
|
>
|
||||||
<span class="rotate-90">
|
<span class="rotate-90">
|
||||||
-------------------------------------------------Scroll-------------------------------------------------
|
{scrollThumbText}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -390,7 +393,7 @@
|
||||||
on:pointercancel={endHDrag}
|
on:pointercancel={endHDrag}
|
||||||
on:keydown={onHKeyDown}
|
on:keydown={onHKeyDown}
|
||||||
>
|
>
|
||||||
-------------------------------------------------Scroll-------------------------------------------------
|
{scrollThumbText}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue