diff --git a/client/src/components/Settings.svelte b/client/src/components/Settings.svelte index 9bf8fc9..333e571 100644 --- a/client/src/components/Settings.svelte +++ b/client/src/components/Settings.svelte @@ -85,6 +85,7 @@ Ausfallfarbe Externe Unterrichtszeiten Ausgefüllte Buttons (Bei Änderungen / Ausfall) + Unterrichtsstunden füllen die komplette Breite beim Wochenplan Regenbogen 🌈

Nerd Section

Planversion auswählbar machen diff --git a/client/src/components/Weekplan/Day.svelte b/client/src/components/Weekplan/Day.svelte index 7ad3f07..3a656a7 100644 --- a/client/src/components/Weekplan/Day.svelte +++ b/client/src/components/Weekplan/Day.svelte @@ -233,14 +233,14 @@ {#each {length: block_count} as _, i}
{#if lessons[i][0].length > 0} -
+
{#each lessons[i][0] as lesson} {/each}
{/if} {#if lessons[i][1].length > 0 || lessons[i][2].length > 0} -
+
{#each lessons[i][1] as lesson} @@ -424,6 +424,10 @@ gap: .4rem; padding: .2rem; box-sizing: border-box; + + &.filled_in_weekplan { + flex: 1 + } } .lessons-container { @@ -431,6 +435,10 @@ display: flex; flex-direction: column; + &.filled_in_weekplan { + flex: 1 + } + .lesson { height: var(--lesson-height); gap: .4rem; diff --git a/client/src/components/Weekplan/Lesson.svelte b/client/src/components/Weekplan/Lesson.svelte index f0ed15d..e0b84d4 100644 --- a/client/src/components/Weekplan/Lesson.svelte +++ b/client/src/components/Weekplan/Lesson.svelte @@ -26,7 +26,7 @@ $: forms_changed = lesson.forms_changed && lesson.takes_place && !lesson.is_unplanned; -
+
{#if (lesson.info.length > 0) || (plan_type === "forms" && (forms.length > 1)) || (plan_type === "teachers" && (teachers.length > 1)) || (plan_type === "rooms" && (rooms.length > 1))}