From a3519b4d2858f89a81e4074159341675ce402b9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=BA=C5=A1=20Hlav=C3=A1=C4=8Dik?= Date: Sun, 15 Dec 2024 12:50:01 +0100 Subject: [PATCH] Wrap text to typography (#545) --- .../SemesterAdministration.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/components/SemesterAdministration/SemesterAdministration.tsx b/src/components/SemesterAdministration/SemesterAdministration.tsx index 6018e455..61d97e2c 100644 --- a/src/components/SemesterAdministration/SemesterAdministration.tsx +++ b/src/components/SemesterAdministration/SemesterAdministration.tsx @@ -159,13 +159,11 @@ export const SemesterAdministration: FC = () => { - {problem.num_corrected_solutions === problem.num_solutions ? ( - <>{`Opravené (${problem.num_solutions})`} - ) : ( - <> - {problem.num_corrected_solutions}/{problem.num_solutions} - - )} + + {problem.num_corrected_solutions === problem.num_solutions + ? `Opravené (${problem.num_solutions})` + : `${problem.num_corrected_solutions}/${problem.num_solutions}`} + {problem.solution_pdf ? (