fix: Size of dropdowns should be always the same and not break into 2 lines

This commit is contained in:
Kamil Furtak 2025-02-15 15:59:37 +01:00
parent cb58db3bf0
commit 24bf34c683

View File

@ -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)}