Compare commits

...

2 Commits

Author SHA1 Message Date
frostbournesb baea85306a Changeset 2025-02-20 01:10:11 -05:00
frostbournesb 7c8e22d2f8 Make marketplace tags scrollable 2025-02-19 03:00:11 -05:00
2 changed files with 15 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"claude-dev": patch
---
Make tags section in marketplace scrollable
@@ -223,8 +223,16 @@ const McpMarketplaceCard = ({ item, installedServers }: McpMarketplaceCardProps)
display: "flex",
gap: "6px",
flexWrap: "nowrap",
overflow: "hidden",
overflowX: "auto",
scrollbarWidth: "none",
position: "relative",
}}
onScroll={(e) => {
const target = e.currentTarget
const gradient = target.querySelector(".tags-gradient") as HTMLElement
if (gradient) {
gradient.style.visibility = target.scrollLeft > 0 ? "hidden" : "visible"
}
}}>
<span
style={{
@@ -254,6 +262,7 @@ const McpMarketplaceCard = ({ item, installedServers }: McpMarketplaceCardProps)
</span>
))}
<div
className="tags-gradient"
style={{
position: "absolute",
right: 0,