Skip to content

Commit a1b8b12

Browse files
authored
Prevent MCP 'installed' label from being squeezed #4630 (#4649)
1 parent 48d0b19 commit a1b8b12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webview-ui/src/components/marketplace/components/MarketplaceItemCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ export const MarketplaceItemCard: React.FC<MarketplaceItemCardProps> = ({ item,
114114

115115
{/* Installation status badges and tags in the same row */}
116116
{(isInstalled || (item.tags && item.tags.length > 0)) && (
117-
<div className="relative flex gap-1 my-2 overflow-x-auto scrollbar-hide">
117+
<div className="relative flex flex-wrap gap-1 my-2">
118118
{/* Installation status badge on the left */}
119119
{isInstalled && (
120-
<span className="text-xs px-2 py-0.5 rounded-sm h-5 flex items-center bg-green-600/20 text-green-400 border border-green-600/30">
120+
<span className="text-xs px-2 py-0.5 rounded-sm h-5 flex items-center bg-green-600/20 text-green-400 border border-green-600/30 shrink-0">
121121
{t("marketplace:items.card.installed")}
122122
</span>
123123
)}

0 commit comments

Comments
 (0)