Skip to content

Commit 8dd7610

Browse files
committed
refactor: remove problem description and adjust spacing in problem list view
1 parent 5a49041 commit 8dd7610

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

Frontend/src/views/problems/problems.jsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -238,16 +238,9 @@ export default function ProblemPage() {
238238
{item?.difficulty || "—"}
239239
</span>
240240
</div>
241-
<div className="mb-2 font-mono text-[10px] text-mute">
241+
<div className="mb-4 font-mono text-[10px] text-mute">
242242
{Number.isFinite(rating) ? `Rating: ${rating}` : "Rating: —"}
243243
</div>
244-
{item?.description ? (
245-
<p className="mb-5.5 text-sm text-body line-clamp-3 leading-relaxed">
246-
{String(item.description)}
247-
</p>
248-
) : (
249-
<p className="mb-5.5 text-sm text-mute italic">No description provided.</p>
250-
)}
251244
<div className="flex items-center justify-between">
252245
<Link
253246
to={`/problems/${item.id}`}

0 commit comments

Comments
 (0)