From 30710d51818714feb132102ed267303045975f85 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Thu, 19 Jun 2025 14:44:07 +0200 Subject: [PATCH] Customize layout of textarea scrollbar --- src/components/Textarea.svelte | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/components/Textarea.svelte b/src/components/Textarea.svelte index e84f680d4..af56e0758 100644 --- a/src/components/Textarea.svelte +++ b/src/components/Textarea.svelte @@ -147,6 +147,20 @@ color: var(--color-foreground-dim); } + textarea::-webkit-scrollbar { + width: 7px; + height: 7px; + } + + textarea::-webkit-scrollbar-track { + background-color: transparent; + } + + textarea::-webkit-scrollbar-thumb { + background-color: var(--color-fill-ghost); + border-radius: 4px; + } + .dragover { position: absolute; opacity: 0.5;