fix: truncate tool name (#5198)
* fix: truncate tool name * fix: border hub search
This commit is contained in:
parent
9c9a9cb521
commit
2588c3fa55
@ -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 && (
|
||||
|
||||
@ -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" />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user