Merge pull request #16868 from backstage/blam/marketplace

microsite: Use `badge` instead of `button` for plugin category
This commit is contained in:
Ben Lambert
2023-03-15 13:45:20 +01:00
committed by GitHub
2 changed files with 5 additions and 3 deletions
+1 -3
View File
@@ -35,9 +35,7 @@ export const PluginCard = ({
by <a href={authorUrl}>{author}</a>
</p>
<span className="button button--sm button--outline button--primary">
{category}
</span>
<span className="badge badge--secondary fit-content">{category}</span>
</>
}
body={<p>{description}</p>}
@@ -30,4 +30,8 @@
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
:global(.fit-content) {
width: fit-content;
}
}