From b493c78822305da2cbd407090f6bbee5f17e5f3a Mon Sep 17 00:00:00 2001 From: Ruben Vandamme Date: Wed, 22 May 2024 21:01:55 +0200 Subject: [PATCH 1/4] submit right bottom --- .../src/assets/styles/students_components.css | 9 ++++++ .../src/assets/styles/teacher_components.css | 3 +- .../components/ProjectStudentComponent.tsx | 31 ++++++++++++------- .../components/ProjectTeacherComponent.tsx | 12 +++++-- .../src/pages/teacher/ProjectViewTeacher.tsx | 2 +- frontend/src/utils/ScrollBarWidth.ts | 12 +++++++ 6 files changed, 53 insertions(+), 16 deletions(-) create mode 100644 frontend/src/utils/ScrollBarWidth.ts diff --git a/frontend/src/assets/styles/students_components.css b/frontend/src/assets/styles/students_components.css index 9ced25c3..760c84ae 100644 --- a/frontend/src/assets/styles/students_components.css +++ b/frontend/src/assets/styles/students_components.css @@ -92,4 +92,13 @@ .fixated-filler { height: 60px; background-color: white; +} + +.file-chooser-first { + border-top-right-radius: 0px !important; + border-bottom-right-radius: 0px !important; +} +.file-chooser-second { + border-top-left-radius: 0px !important; + border-bottom-left-radius: 0px !important; } \ No newline at end of file diff --git a/frontend/src/assets/styles/teacher_components.css b/frontend/src/assets/styles/teacher_components.css index 2cb103a2..9818855c 100644 --- a/frontend/src/assets/styles/teacher_components.css +++ b/frontend/src/assets/styles/teacher_components.css @@ -6,11 +6,10 @@ .create-project-topbar { position: fixed; - width: calc(100% - var(--sidebar-width) - 20px); z-index: 10; background-color: white; padding: 10px 20px; - display:flex + display: flex; } .create-project-content { diff --git a/frontend/src/components/ProjectStudentComponent.tsx b/frontend/src/components/ProjectStudentComponent.tsx index b4cabb74..38ac8406 100644 --- a/frontend/src/components/ProjectStudentComponent.tsx +++ b/frontend/src/components/ProjectStudentComponent.tsx @@ -291,19 +291,29 @@ export default function ProjectStudentComponent(props: { project: ProjectStudent