Skip to content

Commit

Permalink
fix: mayhaps part 2 electric boogaloo
Browse files Browse the repository at this point in the history
  • Loading branch information
Gobot1234 committed Apr 20, 2024
1 parent 89687f3 commit 252ce58
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,17 @@ export const SignInReasonDisplay: React.FC<SignInReasonDisplayProps> = ({ tools,
</div>
<TooltipProvider>
<Tooltip>
<div className="text-center font-mono mt-2 flex justify-center">
<TooltipTrigger asChild>
<TooltipTrigger asChild>
<div className="text-center font-mono mt-2 flex justify-center">
<Badge variant="default" className="max-w-48 rounded-sm shadow-lg justify-center items-center">
{<Category category={reason.category} className="mr-1" />}
{reason.category === "UNIVERSITY_MODULE" ? reason.name.split(" ")[0] : reason.name}
</Badge>
</TooltipTrigger>
<TooltipContent>{reason.name}</TooltipContent>
</div>{" "}
</div>
</TooltipTrigger>
<TooltipContent>
<p>{reason.name}</p>
</TooltipContent>
</Tooltip>
</TooltipProvider>
</div>
Expand Down

0 comments on commit 252ce58

Please sign in to comment.