Skip to content

Commit

Permalink
fix: wacky formatting on the reason
Browse files Browse the repository at this point in the history
  • Loading branch information
Gobot1234 committed Apr 20, 2024
1 parent c75db8f commit 05f1f18
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ export const SignInReasonDisplay: React.FC<SignInReasonDisplayProps> = ({ tools,
<TooltipProvider>
<Tooltip>
<TooltipTrigger asChild>
<Badge variant="default" className="max-w-48 rounded-sm shadow-lg">
<div className="flex">
{<Category category={reason.category} className="mr-1" />}
{reason.category === "UNIVERSITY_MODULE" ? reason.name.split(" ")[0] : reason.name}
</div>
<Badge variant="default" className="max-w-48 rounded-sm shadow-lg flex 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>
Expand Down

0 comments on commit 05f1f18

Please sign in to comment.