Skip to content

Commit

Permalink
alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
farisashai committed Mar 31, 2024
1 parent 59b536d commit 3955288
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/leaderboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ const LeaderboardPage = ({ sort, leaderboard, user: { uuid } }: LeaderboardProps
setPage(0);
setScrollIntoView(0);
}}
className={styles.timeDropdown}
/>
</div>
{topThreeUsers.length > 0 ? (
Expand Down
4 changes: 4 additions & 0 deletions src/styles/pages/leaderboard.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@
color: var(--theme-text-on-background-3);
}
}

.timeDropdown select {
text-align: right;
}
}

.topThreeContainer {
Expand Down
1 change: 1 addition & 0 deletions src/styles/pages/leaderboard.module.scss.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export type Styles = {
leaderboard: string;
myPosition: string;
search: string;
timeDropdown: string;
topThreeContainer: string;
};

Expand Down

0 comments on commit 3955288

Please sign in to comment.