mirror of https://github.com/kortix-ai/suna.git
chore(ux): visual bugs fix
This commit is contained in:
parent
48dab27e24
commit
29be6b5503
|
@ -116,7 +116,7 @@ export const BrowseDialog: React.FC<BrowseDialogProps> = ({
|
|||
</div>
|
||||
<DialogFooter className='w-full'>
|
||||
{!searchQuery && popularServersV2?.success && popularServersV2.pagination && (
|
||||
<div className="flex items-center justify-between px-4 border-t w-full">
|
||||
<div className="flex items-center justify-between w-full">
|
||||
<div className="text-sm text-muted-foreground">
|
||||
Showing {((currentPage - 1) * pageSize) + 1} to {Math.min(currentPage * pageSize, popularServersV2.pagination.totalCount)} of {popularServersV2.pagination.totalCount} servers
|
||||
</div>
|
||||
|
|
|
@ -29,11 +29,6 @@ export const McpServerCard: React.FC<McpServerCardProps> = ({ server, onClick })
|
|||
{server.security?.scanPassed && (
|
||||
<Shield className="h-3 w-3 text-green-500" />
|
||||
)}
|
||||
{server.isDeployed && (
|
||||
<Badge variant="secondary" className="text-xs">
|
||||
Deployed
|
||||
</Badge>
|
||||
)}
|
||||
</div>
|
||||
<p className="text-xs text-muted-foreground mt-1 line-clamp-2 whitespace-normal">
|
||||
{truncateString(server.description, 100)}
|
||||
|
|
Loading…
Reference in New Issue