Skip to content

Commit

Permalink
chore(fe): simplify long styles using truncate
Browse files Browse the repository at this point in the history
  • Loading branch information
B0XERCAT committed Oct 5, 2024
2 parents 17009ed + 9eb1887 commit b400db2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/frontend/components/TestcaseTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ export default function TestcaseTable({
<TableCell className="p-3 text-left md:p-3">
Sample #{testResult.id}
</TableCell>
<TableCell className="max-w-96 overflow-hidden text-ellipsis whitespace-nowrap p-3 md:p-3">
<TableCell className="max-w-96 truncate p-3 md:p-3">
{testResult.input}
</TableCell>
<TableCell className="max-w-96 overflow-hidden text-ellipsis whitespace-nowrap p-3 md:p-3">
<TableCell className="max-w-96 truncate p-3 md:p-3">
{testResult.expectedOutput}
</TableCell>

Expand Down

0 comments on commit b400db2

Please sign in to comment.