Skip to content

Commit c499cc6

Browse files
committed
fix # not showing
1 parent 13ea670 commit c499cc6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

frontend/src/html/pages/leaderboards.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
aria-label="Global rank"
6161
data-balloon-pos="down"
6262
>
63+
<span>#</span>
6364
<i class="fas fa-users"></i>
6465
</span>
6566
</td>

frontend/src/styles/leaderboards.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@
165165
i {
166166
display: none;
167167
}
168-
&::before {
169-
content: "#";
168+
span {
169+
display: inline;
170170
}
171171
}
172172
&.friendsOnly {
@@ -177,8 +177,8 @@
177177
i {
178178
display: inline;
179179
}
180-
&::before {
181-
content: "";
180+
span {
181+
display: none;
182182
}
183183
}
184184
}

0 commit comments

Comments
 (0)