Skip to content

Commit

Permalink
526
Browse files Browse the repository at this point in the history
  • Loading branch information
0xjaqbek committed Jul 13, 2024
1 parent 84c7090 commit e872c25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LeaderboardPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const LeaderboardPage: React.FC<LeaderboardPageProps> = ({ elapsedTime, onClose
return (
<LeaderboardContainer>
<LeaderboardContent>
<StyledButton onClick={onClose} style={{ position: 'absolute', top: '10px', right: '10px' }}>
<StyledButton onClick={onClose} style={{ position: 'absolute', bottom: '10px', right: '10px' }}>
Close Leaderboard
</StyledButton>
<h2 style={{ textAlign: 'center' }}>Leaderboard</h2>
Expand All @@ -60,8 +60,8 @@ const LeaderboardPage: React.FC<LeaderboardPageProps> = ({ elapsedTime, onClose
<Button>

</Button>
<Button onClick={handleSaveScore}>Save Score</Button>
</FlexBoxRow>
<StyledButton onClick={handleSaveScore} style={{ position: 'absolute', top: '10px', right: '10px' }}>Save Score</StyledButton>
</LeaderboardContent>
</LeaderboardContainer>
);
Expand Down

0 comments on commit e872c25

Please sign in to comment.