refac: styling
Some checks failed
Deploy to HuggingFace Spaces / check-secret (push) Successful in 15s
Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Failing after 2m21s
Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Failing after 2m10s
Create and publish Docker images with specific build args / merge-main-images (push) Has been skipped
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64) (push) Failing after 2m23s
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64) (push) Failing after 2m42s
Create and publish Docker images with specific build args / merge-cuda-images (push) Has been skipped
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64) (push) Failing after 3m18s
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64) (push) Failing after 2m38s
Create and publish Docker images with specific build args / merge-ollama-images (push) Has been skipped
Python CI / Format Backend (3.11) (push) Failing after 1m18s
Frontend Build / Format & Build Frontend (push) Failing after 1m19s
Frontend Build / Frontend Unit Tests (push) Failing after 1m4s
Integration Test / Run Cypress Integration Tests (push) Failing after 2m22s
Integration Test / Run Migration Tests (push) Failing after 1m42s
Deploy to HuggingFace Spaces / deploy (push) Has been skipped

This commit is contained in:
Timothy Jaeryang Baek 2024-11-18 06:24:44 -08:00
parent 6dc5efeb19
commit 169ca33b48
4 changed files with 19 additions and 17 deletions

View File

@ -155,7 +155,7 @@
</div>
</div>
<div class=" self-center flex-1">
<div class=" self-center flex-1 px-0.5">
<div class=" font-semibold line-clamp-1 h-fit">{item.name}</div>
<div class=" text-xs overflow-hidden text-ellipsis line-clamp-1">

View File

@ -277,7 +277,7 @@
</a>
</div>
<div class="flex justify-between items-center -mb-0.5">
<div class="flex justify-between items-center -mb-0.5 px-0.5">
<div class=" text-xs mt-0.5">
<Tooltip content={model?.user?.email} className="flex shrink-0" placement="top-start">
<div class="shrink-0 text-gray-500">

View File

@ -153,7 +153,7 @@
</div>
</div>
<div class=" text-xs">
<div class=" text-xs px-0.5">
<Tooltip
content={prompt?.user?.email}
className="flex shrink-0"

View File

@ -242,22 +242,24 @@
</div>
</Tooltip>
<div class="flex gap-1.5 mb-0.5">
<div class=" text-xs overflow-hidden text-ellipsis line-clamp-1">
{tool.meta.description}
<div class="px-0.5">
<div class="flex gap-1.5 mt-0.5 mb-0.5">
<div class=" text-xs overflow-hidden text-ellipsis line-clamp-1">
{tool.meta.description}
</div>
</div>
</div>
<div class="text-xs text-gray-500 shrink-0">
<Tooltip
content={tool?.user?.email}
className="flex shrink-0"
placement="top-start"
>
{$i18n.t('By {{name}}', {
name: capitalizeFirstLetter(tool?.user?.name ?? tool?.user?.email)
})}
</Tooltip>
<div class="text-xs text-gray-500 shrink-0">
<Tooltip
content={tool?.user?.email}
className="flex shrink-0"
placement="top-start"
>
{$i18n.t('By {{name}}', {
name: capitalizeFirstLetter(tool?.user?.name ?? tool?.user?.email)
})}
</Tooltip>
</div>
</div>
</div>
</div>