From f584edbd15a7e5607a2ebffdf60535cd4fa19eeb Mon Sep 17 00:00:00 2001 From: matushl Date: Sun, 15 Dec 2024 12:41:19 +0100 Subject: [PATCH] Wrap text to typography --- .../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 ? (