Skip to content
Snippets Groups Projects
Commit e502eaaa authored by marcantoinem's avatar marcantoinem
Browse files

Small CSS fixes

parent bd7d6b38
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
......@@ -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);
};
......
......@@ -44,10 +44,6 @@
margin-top: auto;
}
.group-text-col {
justify-content: space-between;
}
@keyframes translateOpen {
0% {
max-height: 22px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment