Skip to content

Commit

Permalink
style: refactor show us button style to match design
Browse files Browse the repository at this point in the history
  • Loading branch information
OgDev-01 committed Sep 22, 2022
1 parent e4ae7fa commit 4006671
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions components/organisms/ContributorCard/contributor-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,14 @@ const ContributorCard = ({ className, contributor }: ContributorCardProps) => {
<ContributorTable listOfPRs={listOfPRs} />
) : null}
<div className="flex w-full justify-center">
<Button
<button
onClick={() => setShowPRs((prevState) => !prevState)}
type="link"
className="!w-full"
className="w-full bg-white py-1 border-light-slate-6 hover:bg-light-slate-1 rounded-lg border transition"
>
<Text className="!text-sm !text-light-slate-11 font-medium">
{showPRs ? "Hide" : "Show"} latest pull requests
</Text>
</Button>
</button>
</div>
</div>
</Card>
Expand Down

0 comments on commit 4006671

Please sign in to comment.