From 10315663b253939f38392e1209922a6b48b34baa Mon Sep 17 00:00:00 2001 From: pashpashpash Date: Sat, 15 Feb 2025 17:37:02 -0800 Subject: [PATCH] more cleanup --- .../mcp/marketplace/McpMarketplaceCard.tsx | 57 +++++++++---------- 1 file changed, 26 insertions(+), 31 deletions(-) diff --git a/webview-ui/src/components/mcp/marketplace/McpMarketplaceCard.tsx b/webview-ui/src/components/mcp/marketplace/McpMarketplaceCard.tsx index dae8fa70ff..787e9fbe4b 100644 --- a/webview-ui/src/components/mcp/marketplace/McpMarketplaceCard.tsx +++ b/webview-ui/src/components/mcp/marketplace/McpMarketplaceCard.tsx @@ -129,43 +129,39 @@ const McpMarketplaceCard = ({ item, installedServers }: McpMarketplaceCardProps) gap: "12px", fontSize: "12px", color: "var(--vscode-descriptionForeground)", - marginTop: "2px", flexWrap: "wrap", minWidth: 0, }}> -
-
- { + e.currentTarget.style.opacity = "0.8" + }} + onMouseLeave={(e) => { + e.currentTarget.style.opacity = "0.5" + }}> +
+ + { - e.currentTarget.style.opacity = "0.8" - }} - onMouseLeave={(e) => { - e.currentTarget.style.opacity = "0.5" }}> - - + {item.author} +
- - {item.author} - -
- | +
{item.githubStars?.toLocaleString() ?? 0}
- |