From 24bf34c683a5d234008b5c27f77315b3d2c98a13 Mon Sep 17 00:00:00 2001 From: Kamil Furtak Date: Sat, 15 Feb 2025 15:59:37 +0100 Subject: [PATCH] fix: Size of dropdowns should be always the same and not break into 2 lines --- app/components/chat/ModelSelector.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/chat/ModelSelector.tsx b/app/components/chat/ModelSelector.tsx index 13d2622a..d332b5cd 100644 --- a/app/components/chat/ModelSelector.tsx +++ b/app/components/chat/ModelSelector.tsx @@ -181,7 +181,7 @@ export const ModelSelector = ({ 'w-full p-2 rounded-lg border border-bolt-elements-borderColor', 'bg-bolt-elements-prompt-background text-bolt-elements-textPrimary', 'focus-within:outline-none focus-within:ring-2 focus-within:ring-bolt-elements-focus', - 'transition-all cursor-pointer', + 'transition-all cursor-pointer truncate', isModelDropdownOpen ? 'ring-2 ring-bolt-elements-focus' : undefined, )} onClick={() => setIsModelDropdownOpen(!isModelDropdownOpen)}