From 3b05222867c5d1fee24a583a9c71e1fdb3da43a3 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Wed, 8 Feb 2023 11:40:08 +0800 Subject: [PATCH] chore(contest/standings): acm standings table style --- web/js/uoj.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/js/uoj.js b/web/js/uoj.js index edb5ebf..29ca459 100644 --- a/web/js/uoj.js +++ b/web/js/uoj.js @@ -1710,19 +1710,19 @@ function getACMStandingsMeta() { function setACMStandingsTH(th, i, meta) { if (i == -3) { - return $(th).css('width', '34px').text('#'); + return $(th).css('width', '3em').text('#'); } else if (i == -2) { if (problems.length <= 10) { - $(th).css('width', '114px'); + $(th).css('width', '14em'); } return $(th).text(uojLocale('username')); } else if (i == -1) { - return $(th).css('width', '57px').text(uojLocale('contests::total score')); + return $(th).css('width', '5em').text(uojLocale('contests::total score')); } var pid = problems[i]; - $(th).css('width', '57px'); + $(th).css('width', '5em'); if (("problem_" + pid) in bonus) { $(th).attr('title', '附加题,通过后减免 20 分钟罚时'); }