mirror of https://github.com/kortix-ai/suna.git
Merge pull request #653 from escapade-mckv/mcp-polish
chore(ux): visual bugs fix
This commit is contained in:
commit
c75f8cbec2
|
@ -116,7 +116,7 @@ export const BrowseDialog: React.FC<BrowseDialogProps> = ({
|
||||||
</div>
|
</div>
|
||||||
<DialogFooter className='w-full'>
|
<DialogFooter className='w-full'>
|
||||||
{!searchQuery && popularServersV2?.success && popularServersV2.pagination && (
|
{!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">
|
<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
|
Showing {((currentPage - 1) * pageSize) + 1} to {Math.min(currentPage * pageSize, popularServersV2.pagination.totalCount)} of {popularServersV2.pagination.totalCount} servers
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -29,11 +29,6 @@ export const McpServerCard: React.FC<McpServerCardProps> = ({ server, onClick })
|
||||||
{server.security?.scanPassed && (
|
{server.security?.scanPassed && (
|
||||||
<Shield className="h-3 w-3 text-green-500" />
|
<Shield className="h-3 w-3 text-green-500" />
|
||||||
)}
|
)}
|
||||||
{server.isDeployed && (
|
|
||||||
<Badge variant="secondary" className="text-xs">
|
|
||||||
Deployed
|
|
||||||
</Badge>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
<p className="text-xs text-muted-foreground mt-1 line-clamp-2 whitespace-normal">
|
<p className="text-xs text-muted-foreground mt-1 line-clamp-2 whitespace-normal">
|
||||||
{truncateString(server.description, 100)}
|
{truncateString(server.description, 100)}
|
||||||
|
|
Loading…
Reference in New Issue