Skip to content

Commit 68234f3

Browse files
author
CodeJudge
committed
feat: 题目卡片显示编号
1 parent 8eca533 commit 68234f3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

frontend/src/components/ProblemCard.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export default function ProblemCard({ problem }: { problem: Problem }) {
6363
</span>
6464
)}
6565
<h3 className="text-lg font-semibold text-white truncate group-hover:text-primary-400 transition-colors">
66+
<span className="text-dark-500 font-mono text-sm mr-1.5">#{problem.id}</span>
6667
{problem.title}
6768
</h3>
6869
</div>

0 commit comments

Comments
 (0)