fix: truncate long model names and IDs in UI (#20696)

- Added line-clamp-1 truncation and tooltips to long model names and IDs in the Evaluations and Models admin sections to prevent visual overflow. Model names now display truncated with full name and ID available on hover.
This commit is contained in:
G30 authored and GitHub committed 2026-01-19 13:59:44 +04:00
1 parent 98cb2d3411
commit 6ae3ddd66b
4 files changed
+16 -9

No files matched your search

@@ -50,7 +50,7 @@
<div class="flex items-center gap-1">
<EllipsisVertical className="size-4 cursor-move model-item-handle" />
<div class=" text-sm flex-1 py-1 rounded-lg">
<div class=" text-sm flex-1 py-1 rounded-lg line-clamp-1">
{#if $models.find((model) => model.id === modelId)}
{$models.find((model) => model.id === modelId).name}
{:else}