Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit 83df919

Browse files
committed
字母题号居中
1 parent cf4a715 commit 83df919

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/ContestTable.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ function applySelectedCategories() {
222222
<Column
223223
v-for="i of problemIndexes"
224224
:field="`problems.${i}`"
225-
:header="`${i + 1}`"
225+
:header="String.fromCharCode(i + 65)"
226226
:key="i"
227227
class="problem"
228228
>
@@ -245,6 +245,10 @@ th.time {
245245
white-space: nowrap;
246246
}
247247
248+
.problem .p-column-title {
249+
margin: auto;
250+
}
251+
248252
td.problem {
249253
max-width: 8rem;
250254
padding: 0;

0 commit comments

Comments
 (0)