fix(web/contest/standings): problem link text-decoration-none
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-10-08 15:17:25 +08:00
parent 30dc0d7d70
commit 47e64d8a24
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -1115,7 +1115,7 @@ function showStandings() {
'<th style="width:' + (show_self_reviews ? '8' : '14') + 'em">'+uojLocale('username')+'</th>' + '<th style="width:' + (show_self_reviews ? '8' : '14') + 'em">'+uojLocale('username')+'</th>' +
'<th style="width:5em">'+uojLocale('contests::total score')+'</th>' + '<th style="width:5em">'+uojLocale('contests::total score')+'</th>' +
$.map(problems, function(col, idx) { $.map(problems, function(col, idx) {
return '<th style="width:' + (show_self_reviews ? '10' : '8') + 'em;">' + '<a href="/contest/' + contest_id + '/problem/' + col + '">' + String.fromCharCode('A'.charCodeAt(0) + idx) + '</a>' + '</th>'; return '<th style="width:' + (show_self_reviews ? '10' : '8') + 'em;">' + '<a href="/contest/' + contest_id + '/problem/' + col + '" class="text-decoration-none">' + String.fromCharCode('A'.charCodeAt(0) + idx) + '</a>' + '</th>';
}).join('') + }).join('') +
(show_self_reviews ? '<th style="width:16em;">赛后总结</th>' : '') + (show_self_reviews ? '<th style="width:16em;">赛后总结</th>' : '') +
'</tr>', '</tr>',