From ba5dca15022396b5df9b4367275ea8fd75ec37aa Mon Sep 17 00:00:00 2001 From: Gus Ruben Date: Tue, 29 Jul 2025 01:46:11 -0400 Subject: [PATCH] Make idea generator scrollable --- src/routes/example/+page.svelte | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/src/routes/example/+page.svelte b/src/routes/example/+page.svelte index f2b083e..b59b309 100644 --- a/src/routes/example/+page.svelte +++ b/src/routes/example/+page.svelte @@ -722,6 +722,35 @@ Mumbai`.split("\n") :global(html) { overflow-x: hidden; } + + /* Minimal scrollbar styling */ + .idea-output-box::-webkit-scrollbar { + width: 8px; + } + + .idea-output-box::-webkit-scrollbar-track { + background: transparent; + } + + .idea-output-box::-webkit-scrollbar-thumb { + background-color: #d1e3ee; + border-radius: 0; + border: none; + } + + .idea-output-box::-webkit-scrollbar-thumb:hover { + background-color: #d1e3ee; + } + + .idea-output-box::-webkit-scrollbar-corner { + background: transparent; + } + + /* Firefox scrollbar styling */ + .idea-output-box { + scrollbar-width: auto; + scrollbar-color: #d1e3ee transparent; + } @@ -1448,7 +1477,7 @@ Mumbai`.split("\n")
-
+
{#if ideaText}

{ideaText}{#if isTyping}|{/if}