"fs/vscode:/vscode.git/clone" did not exist on "2fec73eef6e9482f606f185ebb2ae4f75ad1a37c"
Commit 35b5d5ba authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac: suggestions scroll snap

parent 84cd1b8c
......@@ -22,9 +22,9 @@
{/if}
<div class="w-full">
<div class="relative w-full flex gap-2 snap-x overflow-x-auto tabs">
<div class="relative w-full flex gap-2 snap-x snap-mandatory overflow-x-auto tabs">
{#each prompts as prompt, promptIdx}
<div class="shrink-0">
<div class="snap-center shrink-0">
<button
class="flex flex-col flex-1 shrink-0 w-64 justify-between h-36 p-5 px-6 bg-gray-50 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-800 rounded-3xl transition group"
on:click={() => {
......@@ -65,6 +65,7 @@
</button>
</div>
{/each}
<!-- <div class="snap-center shrink-0">
<img
class="shrink-0 w-80 h-40 rounded-lg shadow-xl bg-white"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment