chore: Update Layout component to truncate long model names

This commit is contained in:
n4ze3m
2024-05-27 21:09:16 +05:30
parent 01b2d6b437
commit 533e38c287
3 changed files with 8 additions and 14 deletions

View File

@@ -141,9 +141,9 @@ export default function OptionLayout({
label: (
<span
key={model.model}
className="flex flex-row gap-3 items-center">
className="flex flex-row gap-3 items-center truncate">
<OllamaIcon className="w-5 h-5" />
{model.name}
<span className="truncate">{model.name}</span>
</span>
),
value: model.model