Merge pull request #653 from escapade-mckv/mcp-polish

chore(ux): visual bugs fix
This commit is contained in:
Bobbie 2025-06-06 11:17:18 +05:30 committed by GitHub
commit c75f8cbec2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View File

@ -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>

View File

@ -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)}