From 596104f2f02b96bff19482604c40b30f73bb5831 Mon Sep 17 00:00:00 2001 From: Marcus Fredriksson Date: Sun, 1 Sep 2024 19:55:40 +0200 Subject: [PATCH] Some changes and fixes Missing translations, bugs and issues in select elements and overflow for menu title fixed --- app/components/Menu.tsx | 4 ++-- app/components/MenuChange.tsx | 4 ++-- app/components/MenuCompare.tsx | 3 +-- app/components/Schedule.tsx | 4 +++- app/components/SelectInitialProgram.tsx | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app/components/Menu.tsx b/app/components/Menu.tsx index b9dc998..93b81df 100644 --- a/app/components/Menu.tsx +++ b/app/components/Menu.tsx @@ -32,9 +32,9 @@ export default function Menu({isOpen, setIsOpen}: Props){ <> -
+

{selectedProgram?.name}

-

{(selectedProgram?.code || "") + selectedProgram?.semester}

+

{(selectedProgram?.code || "") + selectedProgram?.semester}

setIsOpen(false)}> diff --git a/app/components/MenuChange.tsx b/app/components/MenuChange.tsx index 0b7f51b..4e38a7f 100644 --- a/app/components/MenuChange.tsx +++ b/app/components/MenuChange.tsx @@ -12,11 +12,11 @@ export default function MenuChange(){

Ändra Program

updateSelectedProgram(e.target.value)}> + addComparison(e.target.value)}> - +

Välj ditt program

- {Object.entries(programs).sort().map(([code, semesters]) => { return (