Skip to content

Commit

Permalink
fix tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
luistorres committed May 10, 2024
1 parent a9b1c39 commit cea2f2f
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions packages/web-app/app/_ui/project/contribution/DataFields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,17 @@ export const DataFields = () => {
<span className="md:text-end">{minContribution} USDC</span>
</div>
<div className="flex flex-col gap-2 md:flex-row md:justify-between">
<span className="relative text-mono-800">
Max. number of participants:
<div className="absolute -right-4 -top-2">
<Tooltip
text="Sale will close automatically after reaching this amount"
className="-translate-x-3/4 -translate-y-full"
/>
</div>
</span>
<div className="flex text-mono-800">
<span className="relative flex">
Max. number of participants:{' '}
<div className="absolute -right-4 -top-2">
<Tooltip
text="Sale will close automatically after reaching this amount"
className="-translate-x-3/4 -translate-y-full"
/>
</div>
</span>
</div>
<span className="md:text-end">
{maxParticipants !== undefined ? (
number(maxParticipants)
Expand Down

0 comments on commit cea2f2f

Please sign in to comment.