From f3f6299aaeb6f0484fee1a1cb21939ac9d350616 Mon Sep 17 00:00:00 2001 From: Sean Hatfield <seanhatfield5@gmail.com> Date: Tue, 10 Sep 2024 15:16:27 -0700 Subject: [PATCH] Fix UI for slash cmd presets (#2260) * fix ui for slash cmd presets * hide scroll --------- Co-authored-by: timothycarambat <rambat1010@gmail.com> --- .../ChatContainer/PromptInput/SlashCommands/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/index.jsx index 9b626372c..c242da27c 100644 --- a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/index.jsx +++ b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/index.jsx @@ -53,7 +53,7 @@ export function SlashCommands({ showing, setShowing, sendCommand }) { <div className="w-full flex justify-center absolute bottom-[130px] md:bottom-[150px] left-0 z-10 px-4"> <div ref={cmdRef} - className="w-[600px] overflow-auto p-2 bg-zinc-800 rounded-2xl shadow flex-col justify-center items-start gap-2.5 inline-flex" + className="w-[600px] bg-zinc-800 rounded-2xl flex shadow flex-col justify-start items-start gap-2.5 p-2 overflow-y-auto max-h-[300px] no-scroll" > <ResetCommand sendCommand={sendCommand} setShowing={setShowing} /> <EndAgentSession sendCommand={sendCommand} setShowing={setShowing} /> -- GitLab