Skip to content
This repository was archived by the owner on Feb 23, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions src/Containers/FeaturesProfileCard/FeaturedProfilesCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,19 @@ export const FeaturedProfilesCard: React.FC<IFeaturedProfilesCardProps> = ({
}, [profileData]);

return (
<Container>
{renderProfileCircles()}
<FeaturedProfile icon key={ADD_USER_ICON_KEY} background="grey" />
</Container>
<Holder>
<Container>
{renderProfileCircles()}
<FeaturedProfile icon key={ADD_USER_ICON_KEY} background="grey" />
</Container>
<CountContainer>{profileData.length}</CountContainer>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be optional

Prop && Jsx

</Holder>

);
};

const Container = styled.ul`

${flex('row')}
padding: 5px;

Expand All @@ -120,3 +125,13 @@ const Container = styled.ul`
z-index: -3;
}
`;

const CountContainer = styled.div`
font-size 40px;
height 150px;
line-height 150px;
text-align:center;
`
const Holder = styled.div`
display: flex;
`
2 changes: 1 addition & 1 deletion src/Containers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ export * from './CustomerProfile/CustomerProfile';
export * from './CreatedDate/CreatedDate';
export * from './CRMRow/CRMRow';
export * from './CRMTable/CRMTable';
export * from './LimitedTimeBanner/LimitedTimeBanner';
export * from './LimitedTimeBanner/LimitedTimeBanner';