diff --git a/src/lib/services/models/live-lab.ts b/src/lib/services/models/live-lab.ts index f3b36bbd..55f67afd 100644 --- a/src/lib/services/models/live-lab.ts +++ b/src/lib/services/models/live-lab.ts @@ -9,8 +9,8 @@ function getKeyIndex(map: Map, targetKey: string) { } function truncate(input: string) { - if (input?.length > 16) { - return input.substring(0, 15) + "..."; + if (input?.length > 24) { + return input.substring(0, 20) + "..."; } return input; } @@ -77,7 +77,7 @@ export class LiveLab { const prevTitle = prevChapter ? truncate(this.chaptersTitles.get(prevChapter.shortTitle)) : ""; if (prevTitle) number = this.autoNumber ? prevChapter.shortTitle + ": " : ""; this.horizontalNavbarHtml = prevChapter - ? `   ${number}${prevTitle} ` + ? `   ${number}${prevTitle} ` : ""; number = ""; @@ -87,7 +87,7 @@ export class LiveLab { // @ts-ignore const nextTitle = nextChapter ? truncate(this.chaptersTitles.get(nextChapter.shortTitle)) : ""; this.horizontalNavbarHtml += nextChapter - ? ` ${number}${nextTitle}  ` : ""; diff --git a/src/lib/ui/TutorsShell.svelte b/src/lib/ui/TutorsShell.svelte index fa88eb2a..6a31e33c 100644 --- a/src/lib/ui/TutorsShell.svelte +++ b/src/lib/ui/TutorsShell.svelte @@ -10,7 +10,7 @@
-
+
{#if currentCourse?.value} @@ -19,7 +19,7 @@
{@render children()}
-
+
diff --git a/src/lib/ui/learning-objects/content/Lab.svelte b/src/lib/ui/learning-objects/content/Lab.svelte index b88e079d..abb19599 100644 --- a/src/lib/ui/learning-objects/content/Lab.svelte +++ b/src/lib/ui/learning-objects/content/Lab.svelte @@ -48,16 +48,16 @@ /> -
- -
-
+
+ +
+