From 8f09aced83ab44088bb28ec81941136562fbfce2 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 21 Oct 2024 00:57:15 -0700 Subject: [PATCH] Add scroll bar to make it obvious --- public/scripts/slash-commands.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/scripts/slash-commands.js b/public/scripts/slash-commands.js index 6a4c5f63f..08ea48536 100644 --- a/public/scripts/slash-commands.js +++ b/public/scripts/slash-commands.js @@ -2090,12 +2090,14 @@ async function buttonsCallback(args, text) { overflow-y: auto; flex-shrink: 1; min-height: 0; + scrollbar-width: thin; + scrollbar-color: rgba(255, 255, 255, 0.3) transparent; } .scrollable-buttons::-webkit-scrollbar { width: 6px; } .scrollable-buttons::-webkit-scrollbar-thumb { - background-color: rgba(0, 0, 0, 0.2); + background-color: rgba(255, 255, 255, 0.3); border-radius: 3px; } `; @@ -4304,4 +4306,3 @@ sendTextarea.addEventListener('input', () => { sendTextarea.style.fontFamily = null; } }); -