diff --git a/aep-schedule-website/src/frontend/components/options/courses_selector.rs b/aep-schedule-website/src/frontend/components/options/courses_selector.rs index 1186d8e14100cfd2ec90789b8286f763d793fa9a..f89f9567c1c932eb04851d4f7a71cdb3b3ae3e13 100644 --- a/aep-schedule-website/src/frontend/components/options/courses_selector.rs +++ b/aep-schedule-website/src/frontend/components/options/courses_selector.rs @@ -40,10 +40,10 @@ where class=("bg-red-500", move || {!open.get()}) > <span class="text-lg text-bold text-sans">{group.number.to_string()}</span> - <div class="flex flex-col group-text-col"> + <div class="flex flex-col justify-between w-full"> {group.periods.iter().map(|p| { view!{ - <div class="flex group-text"> + <div class="flex group-text w-full justify-between"> <span>{p.day.to_string()}</span> <span class="period-group">{p.hours.to_string()}</span> </div> diff --git a/aep-schedule-website/src/frontend/pages/generator.rs b/aep-schedule-website/src/frontend/pages/generator.rs index a9b6757fc49a5be88ad3d5434c41aa452a7dce13..cfc00c422508ff7de438a33d3faa50b92732fedf 100644 --- a/aep-schedule-website/src/frontend/pages/generator.rs +++ b/aep-schedule-website/src/frontend/pages/generator.rs @@ -52,6 +52,7 @@ pub fn GeneratorPage() -> impl IntoView { set_step.set(2); return; } + section_error.set("".to_string()); options.apply_personal_schedule(); let mut impossible_courses = options.get_impossible_course().into_iter(); if let Some(first_impossible_course) = impossible_courses.next() { @@ -65,6 +66,7 @@ pub fn GeneratorPage() -> impl IntoView { set_step.set(3); return; } + personal_error.set("".to_string()); set_step.set(5); }; diff --git a/aep-schedule-website/style/options.scss b/aep-schedule-website/style/options.scss index 4028cd207d1a1def2101f24cc2ecc05f1aab0302..84bc1950a4bcefd632b737e81551faf95cb58d3f 100644 --- a/aep-schedule-website/style/options.scss +++ b/aep-schedule-website/style/options.scss @@ -44,10 +44,6 @@ margin-top: auto; } -.group-text-col { - justify-content: space-between; -} - @keyframes translateOpen { 0% { max-height: 22px;