diff --git a/src/lib/ui/learning-objects/layout/Cards.svelte b/src/lib/ui/learning-objects/layout/Cards.svelte index 94b0b3402..fd08cbe48 100644 --- a/src/lib/ui/learning-objects/layout/Cards.svelte +++ b/src/lib/ui/learning-objects/layout/Cards.svelte @@ -35,17 +35,27 @@ {#if los.length > 0} -
-
- {#key refresh} - {#each los as lo} - {#if !lo.hide} -
- -
- {/if} - {/each} - {/key} +
+
+ {#key refresh} + {#each los as lo} + {#if !lo.hide} +
+ +
+ {/if} + {/each} + {/key} +
-
{/if} diff --git a/src/lib/ui/learning-objects/layout/Units.svelte b/src/lib/ui/learning-objects/layout/Units.svelte index 9a30888a8..286e8779a 100644 --- a/src/lib/ui/learning-objects/layout/Units.svelte +++ b/src/lib/ui/learning-objects/layout/Units.svelte @@ -19,6 +19,7 @@ onDestroy(unsubscribe); +
{#each units as unit}
@@ -33,3 +34,4 @@
{/each} +
diff --git a/src/lib/ui/learning-objects/structure/Composite.svelte b/src/lib/ui/learning-objects/structure/Composite.svelte index 4681a2222..b3ec5c250 100644 --- a/src/lib/ui/learning-objects/structure/Composite.svelte +++ b/src/lib/ui/learning-objects/structure/Composite.svelte @@ -8,13 +8,13 @@ {#if composite?.units?.sides?.length > 0} -
-
+
+
- - + +
-
+