fix: truncate tool name (#5198)

* fix: truncate tool name

* fix: border hub search
This commit is contained in:
Faisal Amir 2025-06-05 00:47:11 +07:00 committed by GitHub
parent 9c9a9cb521
commit 2588c3fa55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ export default function DropdownToolsAvailable({
<div className="flex-1 min-w-0">
<div className="flex items-start justify-between gap-4">
<div>
<h4 className="text-sm font-medium truncate">
<h4 className="text-sm font-medium line-clamp-1">
{tool.name}
</h4>
{tool.description && (

View File

@ -243,7 +243,7 @@ function Hub() {
<div className="flex h-full w-full">
<div className="flex flex-col h-full w-full">
<HeaderPage>
<div className="pr-4 py-3 border-b border-main-view-fg/5 h-10 w-full flex items-center justify-between relative z-20 ">
<div className="pr-4 py-3 h-10 w-full flex items-center justify-between relative z-20 ">
<div className="flex items-center gap-2 w-full">
{isSearching ? (
<Loader className="size-4 animate-spin text-main-view-fg/60" />