@@ -184,18 +184,18 @@ export function Leaderboard(props: Props) {
184
184
>
185
185
< tbody >
186
186
{ data ( ) ?. entries . map ( ( entry ) => (
187
- < tr >
188
- < td class = "text-md border-b border-gray-700/50 px-1 py-2 text-right font-extrabold text-gray-400 md:px-4 md:text-lg" >
187
+ < tr class = "border-b border-gray-700/50 last:border-b-0" >
188
+ < td class = "text-md px-1 py-2 text-right font-extrabold text-gray-400 md:px-4 md:text-lg" >
189
189
{ entry . rank } .
190
190
</ td >
191
- < td class = "min-w-10 border-b border-gray-700/50 pr-2 md:pr-4" >
191
+ < td class = "min-w-10 pr-2 md:pr-4" >
192
192
< img
193
193
src = { entry . race === "infernals" ? infernals . src : vanguard . src }
194
194
alt = { entry . race }
195
195
class = "h-6 w-6"
196
196
/>
197
197
</ td >
198
- < td class = "w-full max-w-20 truncate border-b border-gray-700/50 pr-2 font-bold text-gray-50 md:max-w-none md:pr-4" >
198
+ < td class = "w-full max-w-20 truncate pr-2 font-bold text-gray-50 md:max-w-none md:pr-4" >
199
199
< div class = "flex items-center gap-2" >
200
200
< a
201
201
href = { `/players/${ entry . player_id } -${ urlencode ( entry . nickname ! ) } ` }
@@ -212,7 +212,7 @@ export function Leaderboard(props: Props) {
212
212
) }
213
213
</ div >
214
214
</ td >
215
- < td class = "border-b border-gray-700/50 pr-2 text-right text-sm font-bold text-gray-100 md:pr-4" >
215
+ < td class = " pr-2 text-right text-sm font-bold text-gray-100 md:pr-4" >
216
216
< div class = "flex items-center justify-end gap-1" >
217
217
< span >
218
218
{ order ( ) !== LeaderboardOrder . MMR ? Math . round ( entry . points || 0 ) : Math . round ( entry . mmr ) }
@@ -224,15 +224,15 @@ export function Leaderboard(props: Props) {
224
224
) }
225
225
</ div >
226
226
</ td >
227
- < td class = "border-b border-gray-700/50 pr-2 text-right text-sm text-gray-100 md:pr-4" >
227
+ < td class = " pr-2 text-right text-sm text-gray-100 md:pr-4" >
228
228
{ entry . wins }
229
229
< span class = "text-green-400" > W</ span >
230
230
</ td >
231
- < td class = "border-b border-gray-700/50 pr-2 text-right text-sm text-gray-100 md:pr-4" >
231
+ < td class = " pr-2 text-right text-sm text-gray-100 md:pr-4" >
232
232
{ entry . losses }
233
233
< span class = "text-red-400" > L</ span >
234
234
</ td >
235
- < td class = "border-b border-gray-700/50 pr-2 text-right text-sm text-gray-100 md:pr-4" >
235
+ < td class = "pr-2 text-right text-sm text-gray-100 md:pr-4" >
236
236
{ Math . round ( ( entry . win_rate <= 1 ? entry . win_rate * 100 : entry . win_rate ) ?? 0 ) } %
237
237
</ td >
238
238
</ tr >
0 commit comments