From b3dd30603820f080c5ca6bc62e8487cb0751c338 Mon Sep 17 00:00:00 2001 From: ctuu Date: Mon, 15 Jun 2020 16:03:10 +0800 Subject: [PATCH 1/2] fix rank table with scrollbar --- src/pages/oj/views/contest/ContestDetail.vue | 1 + src/pages/oj/views/contest/children/ACMContestRank.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/oj/views/contest/ContestDetail.vue b/src/pages/oj/views/contest/ContestDetail.vue index d2554b9..3b9cce1 100644 --- a/src/pages/oj/views/contest/ContestDetail.vue +++ b/src/pages/oj/views/contest/ContestDetail.vue @@ -207,6 +207,7 @@ .flex-container { #contest-main { flex: 1 1; + width: 0; #contest-desc { flex: auto; } diff --git a/src/pages/oj/views/contest/children/ACMContestRank.vue b/src/pages/oj/views/contest/children/ACMContestRank.vue index 4cd5783..bbed4b1 100644 --- a/src/pages/oj/views/contest/children/ACMContestRank.vue +++ b/src/pages/oj/views/contest/children/ACMContestRank.vue @@ -35,7 +35,7 @@
-
+
Date: Mon, 15 Jun 2020 16:03:21 +0800 Subject: [PATCH 2/2] fix translation --- src/i18n/oj/en-US.js | 2 +- src/i18n/oj/zh-CN.js | 2 +- src/pages/oj/views/submission/SubmissionDetails.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/i18n/oj/en-US.js b/src/i18n/oj/en-US.js index 14bd614..a96a76c 100644 --- a/src/i18n/oj/en-US.js +++ b/src/i18n/oj/en-US.js @@ -233,7 +233,7 @@ export const m = { UnShare: 'UnShare', Succeeded: 'Succeeded', Real_Time: 'Real Time', - Singal: 'Singal', + Signal: 'Signal', // SubmissionList.vue When: 'When', ID: 'ID', diff --git a/src/i18n/oj/zh-CN.js b/src/i18n/oj/zh-CN.js index 288341f..d78f9e9 100644 --- a/src/i18n/oj/zh-CN.js +++ b/src/i18n/oj/zh-CN.js @@ -233,7 +233,7 @@ export const m = { UnShare: '不分享', Succeeded: '成功', Real_Time: '真实时间', - Singal: '单身', + Signal: '信号', // SubmissionList.vue When: '时间', ID: 'ID', diff --git a/src/pages/oj/views/submission/SubmissionDetails.vue b/src/pages/oj/views/submission/SubmissionDetails.vue index 73156db..c58e15c 100644 --- a/src/pages/oj/views/submission/SubmissionDetails.vue +++ b/src/pages/oj/views/submission/SubmissionDetails.vue @@ -133,7 +133,7 @@ } }, { - title: this.$i18n.t('m.Singal'), + title: this.$i18n.t('m.Signal'), align: 'center', key: 'signal' }