Kamil Furtak
commited on
Commit
·
24bf34c
1
Parent(s):
cb58db3
fix: Size of dropdowns should be always the same and not break into 2 lines
Browse files
app/components/chat/ModelSelector.tsx
CHANGED
@@ -181,7 +181,7 @@ export const ModelSelector = ({
|
|
181 |
'w-full p-2 rounded-lg border border-bolt-elements-borderColor',
|
182 |
'bg-bolt-elements-prompt-background text-bolt-elements-textPrimary',
|
183 |
'focus-within:outline-none focus-within:ring-2 focus-within:ring-bolt-elements-focus',
|
184 |
-
'transition-all cursor-pointer',
|
185 |
isModelDropdownOpen ? 'ring-2 ring-bolt-elements-focus' : undefined,
|
186 |
)}
|
187 |
onClick={() => setIsModelDropdownOpen(!isModelDropdownOpen)}
|
|
|
181 |
'w-full p-2 rounded-lg border border-bolt-elements-borderColor',
|
182 |
'bg-bolt-elements-prompt-background text-bolt-elements-textPrimary',
|
183 |
'focus-within:outline-none focus-within:ring-2 focus-within:ring-bolt-elements-focus',
|
184 |
+
'transition-all cursor-pointer truncate',
|
185 |
isModelDropdownOpen ? 'ring-2 ring-bolt-elements-focus' : undefined,
|
186 |
)}
|
187 |
onClick={() => setIsModelDropdownOpen(!isModelDropdownOpen)}
|