Skip to content

Commit

Permalink
Update UserLeaderboard.vue (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorWinberg authored Nov 6, 2021
1 parent 82828db commit 714c57c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions client/src/components/UserLeaderboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div>
<h2 class="leaderboard__title">Leaderboard</h2>
<div class="leaderboard__nav">
<h3 @click="togglePeriod">{{ week }} {{ month }} {{ year }}</h3>
<h3 class="leaderboard__period" @click="togglePeriod">{{ week }} {{ month }} {{ year }}</h3>
<a class="nav--left" @click="nav(-1)">
<i class="fas fa-caret-left"></i>
</a>
Expand Down Expand Up @@ -108,10 +108,6 @@ export default Vue.extend({
.leaderboard__nav {
position: relative;
h3 {
display: inline-block;
}
a {
position: absolute;
top: 0;
Expand All @@ -131,6 +127,11 @@ export default Vue.extend({
}
}
.leaderboard__period {
display: inline-block;
text-decoration: underline;
}
.leaderboard__table {
min-width: 100%;
max-width: 800px;
Expand Down

0 comments on commit 714c57c

Please sign in to comment.