fix(题目列表): 知识点一多后面就被截成「选…」「循环…」
Deploy / deploy (push) Canceled after 0s

知识点一栏从 190px 加到 260px,挂 4 个以内的都能完整显示;更多的仍截断,鼠标停上去看全部。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5.5 committed 2026-10-10 14:48:28 +08:00
1 parent cdd69764c4
commit 6d1bfc522d
1 file changed
+3 -3
+3 -3
View File
@@ -402,8 +402,8 @@ watch(
const gridColumns = computed(() =>
showStatus.value
? "40px 72px minmax(0, 1fr) 190px 72px 136px"
: "72px minmax(0, 1fr) 190px 72px 136px",
? "40px 72px minmax(0, 1fr) 260px 72px 136px"
: "72px minmax(0, 1fr) 260px 72px 136px",
)
</script>
@@ -564,7 +564,7 @@ const gridColumns = computed(() =>
<span v-if="cCourse(row)" class="must course">C语言</span>
<ProblemTypeTag v-for="kind in problemTypes(row)" :key="kind" :kind="kind" />
</div>
<div class="knowledge">{{ knowledgeOf(row) || "—" }}</div>
<div class="knowledge" :title="knowledgeOf(row)">{{ knowledgeOf(row) || "—" }}</div>
<div>
<span v-if="row.difficulty" class="difficulty" :style="difficultyStyle(row)">
{{ row.difficulty }}