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

@@ -74,6 +74,7 @@ export const PerformerCard: React.FC<IPerformerCardProps> = ({
return (
<PopoverCountButton
className="scene-count"
type="scene"
count={performer.scene_count}
url={NavUtils.makePerformerScenesUrl(performer, extraCriteria?.scenes)}
@@ -86,6 +87,7 @@ export const PerformerCard: React.FC<IPerformerCardProps> = ({
return (
<PopoverCountButton
className="image-count"
type="image"
count={performer.image_count}
url={NavUtils.makePerformerImagesUrl(performer, extraCriteria?.images)}
@@ -98,6 +100,7 @@ export const PerformerCard: React.FC<IPerformerCardProps> = ({
return (
<PopoverCountButton
className="gallery-count"
type="gallery"
count={performer.gallery_count}
url={NavUtils.makePerformerGalleriesUrl(
@@ -117,7 +120,7 @@ export const PerformerCard: React.FC<IPerformerCardProps> = ({
return (
<HoverPopover placement="bottom" content={popoverContent}>
<Button className="minimal">
<Button className="minimal tag-count">
<Icon icon="tag" />
<span>{performer.tags.length}</span>
</Button>
@@ -130,6 +133,7 @@ export const PerformerCard: React.FC<IPerformerCardProps> = ({
return (
<PopoverCountButton
className="movie-count"
type="movie"
count={performer.movie_count}
url={NavUtils.makePerformerMoviesUrl(performer, extraCriteria?.movies)}