Skip to content

Commit

Permalink
Add z-index to leaderboard button styles for improved stacking context.
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed Jan 5, 2025
1 parent 91f076c commit 1118910
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/course.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@
<div class="sticky top-14">
{{#if this.leaderboardIsExpanded}}
<CoursePage::CollapseLeaderboardButton
class="opacity-0 group-hover:opacity-100 absolute top-6 -left-3.5"
class="opacity-0 group-hover:opacity-100 absolute top-6 -left-3.5 z-10"
{{on "click" this.handleCollapseLeaderboardButtonClick}}
data-test-collapse-leaderboard-button
/>
{{else}}
<CoursePage::ExpandLeaderboardButton
class="opacity-0 group-hover:opacity-100 absolute top-6 -left-3.5"
class="opacity-0 group-hover:opacity-100 absolute top-6 -left-3.5 z-10"
{{on "click" this.handleExpandLeaderboardButtonClick}}
data-test-expand-leaderboard-button
/>
Expand Down

0 comments on commit 1118910

Please sign in to comment.