Skip to content

Commit

Permalink
Adjust export button tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
TomiOhl committed Nov 15, 2024
1 parent e7e2381 commit 38a754b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/components/[guild]/leaderboard/LeaderboardPointsSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,17 @@ const LeaderboardPointsSelector = () => {
<>
<RecalculateLeaderboardButton size="ICON" />
<Divider orientation="vertical" h={8} />
<Tooltip label="Loading might take a while depending on member count">
<Tooltip
label={
<>
Export leaderboard
<br />
<span style={{ fontSize: "0.9em", opacity: 0.8 }}>
Loading might take a while depending on member count
</span>
</>
}
>
<a
download
href={`/api/leaderboard?guildId=${guildId}&pointsId=${router.query.pointsId}`}
Expand Down

0 comments on commit 38a754b

Please sign in to comment.