Add classnames to count popovers (#1813)

This commit is contained in:
WithoutPants
2021-10-06 21:12:28 +11:00
committed by GitHub
parent 11fa8ce581
commit 47ae1be53c
9 changed files with 66 additions and 16 deletions

View File

@@ -27,7 +27,11 @@ export const ImageCard: React.FC<IImageCardProps> = (
));
return (
<HoverPopover placement="bottom" content={popoverContent}>
<HoverPopover
className="tag-count"
placement="bottom"
content={popoverContent}
>
<Button className="minimal">
<Icon icon="tag" />
<span>{props.image.tags.length}</span>