From d9f788afaa467df188148e0024bb37eb13a4e3e8 Mon Sep 17 00:00:00 2001 From: Aron Buzogany Date: Sun, 5 May 2024 10:32:34 +0200 Subject: [PATCH] styling --- .../Courses/CourseDetailTeacher.tsx | 63 ++++++++++--------- 1 file changed, 32 insertions(+), 31 deletions(-) diff --git a/frontend/src/components/Courses/CourseDetailTeacher.tsx b/frontend/src/components/Courses/CourseDetailTeacher.tsx index aacea516..24d816ee 100644 --- a/frontend/src/components/Courses/CourseDetailTeacher.tsx +++ b/frontend/src/components/Courses/CourseDetailTeacher.tsx @@ -180,9 +180,17 @@ export function CourseDetailTeacher(): JSX.Element { return ( <> - - - + + +
{t("projects")}: @@ -192,19 +200,12 @@ export function CourseDetailTeacher(): JSX.Element { - - + + - - - handleDeleteStudent( - navigate, - course.course_id, - selectedStudents - ) - } - > - - {t("deleteSelected")} - - - @@ -292,6 +277,20 @@ export function CourseDetailTeacher(): JSX.Element { + + + handleDeleteStudent( + navigate, + course.course_id, + selectedStudents + ) + } + > + + {t("deleteSelected")} + @@ -488,7 +487,9 @@ function JoinCodeMenu({ const handleCopyToClipboard = (join_code: string) => { const host = window.location.host; - navigator.clipboard.writeText(`${host}/${i18next.language}/courses/join?code=${join_code}`); + navigator.clipboard.writeText( + `${host}/${i18next.language}/courses/join?code=${join_code}` + ); }; const getCodes = useCallback(() => {