This commit is contained in:
Timothy Jaeryang Baek
2026-08-12 00:51:12 -06:00
parent ab41dcc487
commit c086b80313
9 changed files with 23 additions and 23 deletions
@@ -52,7 +52,7 @@
role="option"
aria-selected={isSelected}
aria-label={$i18n.t('Select {{modelName}} model', { modelName: item.label })}
class="group/item flex h-8 w-full cursor-pointer select-none items-center rounded-xl px-2 text-left text-[0.8125rem] font-normal text-gray-700 outline-hidden transition-colors duration-75 hover:bg-gray-50/40 dark:text-gray-100 dark:hover:bg-gray-800/40 {index ===
class="focus-ring group/item flex h-8 w-full cursor-pointer select-none items-center rounded-xl px-2 text-left text-[0.8125rem] font-normal text-gray-700 outline-hidden transition-colors duration-75 hover:bg-gray-50/40 dark:text-gray-100 dark:hover:bg-gray-800/40 {index ===
selectedModelIdx && !compareEnabled
? 'bg-gray-50/70 dark:bg-gray-800/60'
: ''} {isSelected ? 'bg-gray-50/70 dark:bg-gray-800/60' : ''}"
@@ -121,7 +121,8 @@
}`}
className="self-end"
>
<span class="line-clamp-1 text-[0.6875rem] font-normal text-gray-500 dark:text-gray-400"
<span
class="line-clamp-1 text-[0.6875rem] font-normal text-gray-500 dark:text-gray-400"
>{item.model.ollama?.details?.parameter_size ?? ''}</span
>
</Tooltip>
@@ -250,7 +251,7 @@
className="flex-shrink-0 group-hover/item:opacity-100 opacity-0 "
>
<button
class="flex"
class="focus-ring flex"
aria-label={$i18n.t('Eject model')}
on:click={(e) => {
e.preventDefault();
@@ -275,7 +276,7 @@
>
<button
aria-label={`${$i18n.t('More Options')}`}
class="flex"
class="focus-ring flex"
on:click={(e) => {
e.preventDefault();
e.stopPropagation();