Skip to content

Commit 675f9dc

Browse files
committed
Fix progress bar
1 parent 462edba commit 675f9dc

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

src/_includes/game-stats.njk

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@
1111
🐣
1212
</div>
1313

14-
<div class="hidden sm:flex flex-col">
15-
<div class="flex items-center gap-2">
16-
17-
<div class="relative group">
14+
<div class="hidden sm:flex flex-col items-center"> <div class="flex items-center gap-2 mb-1"> <div class="relative group">
1815
<span id="level-name" class="text-[9px] md:text-[10px] font-black uppercase tracking-widest text-[var(--text-main)] cursor-help hover:text-accent transition-colors">
1916
Newbie
2017
</span>
@@ -43,10 +40,7 @@
4340
<span id="count-common" class="opacity-60 font-mono">0</span>
4441
</div>
4542
<div class="flex items-center justify-between">
46-
<div class="flex items-center gap-1.5">
47-
<span class="w-1.5 h-1.5 rounded-full bg-[#10b981]"></span>
48-
Uncommon
49-
</div>
43+
<div class="flex items-center gap-1.5"><span class="w-1.5 h-1.5 rounded-full bg-[#10b981]"></span> Uncommon</div>
5044
<span id="count-uncommon" class="opacity-60 font-mono">0</span>
5145
</div>
5246
<div class="flex items-center justify-between">
@@ -61,14 +55,12 @@
6155
<div class="flex items-center gap-1.5"><span class="w-1.5 h-1.5 rounded-full bg-[#fbbf24]"></span> Legend</div>
6256
<span id="count-legendary" class="opacity-60 font-mono">0</span>
6357
</div>
64-
6558
<div class="flex items-center justify-between">
66-
<div class="flex items-center gap-1.5"><span class="w-1.5 h-1.5 rounded-full bg-[#ef4444]"></span> Mythic</div>
59+
<div class="flex items-center gap-1.5"><span class="w.1.5 h-1.5 rounded-full bg-[#ef4444]"></span> Mythic</div>
6760
<span id="count-mythic" class="opacity-60 font-mono">0</span>
6861
</div>
69-
7062
<div class="flex items-center justify-between">
71-
<div class="flex items-center gap-1.5"><span class="w-1.5 h-1.5 rounded-full bg-[#ffffff] shadow-[0_0_5px_#fff]"></span> Absolute</div>
63+
<div class="flex items-center gap-1.5"><span class="w.1.5 h-1.5 rounded-full bg-[#ffffff] shadow-[0_0_5px_#fff]"></span> Absolute</div>
7264
<span id="count-absolute" class="opacity-60 font-mono">0</span>
7365
</div>
7466
</div>
@@ -77,7 +69,8 @@
7769
</div>
7870

7971
</div>
80-
<div class="w-full h-1 md:h-1.5 bg-black/10 dark:bg-white/10 rounded-full mt-1.5 md:mt-2 overflow-hidden">
72+
73+
<div class="w-24 md:w-32 h-1 bg-black/10 dark:bg-white/10 rounded-full overflow-hidden">
8174
<div id="level-progress" class="h-full bg-accent transition-all duration-1000" style="width: 0%"></div>
8275
</div>
8376
</div>

0 commit comments

Comments
 (0)