From d18d350800cdb1c4ce5b3e2e3a39f8e557123897 Mon Sep 17 00:00:00 2001 From: Jan Lauber Date: Mon, 19 Jun 2023 17:25:15 +0200 Subject: [PATCH] fix: terminal border Signed-off-by: Jan Lauber --- kubelab-ui/src/app.css | 32 ++++++++++++++++++- kubelab-ui/src/lib/components/Console.svelte | 2 -- .../src/routes/labs/[id]/[id]/+layout.svelte | 1 - 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/kubelab-ui/src/app.css b/kubelab-ui/src/app.css index 217248b..a257694 100644 --- a/kubelab-ui/src/app.css +++ b/kubelab-ui/src/app.css @@ -12,7 +12,37 @@ h1 { margin-bottom: 0.5em; } -li { +h2 { + font-size: 1.5rem; + font-weight: 600; + line-height: 1.25; + margin-bottom: 0.5em; +} + +h3 { + font-size: 1.25rem; + font-weight: 600; + line-height: 1.25; + margin-bottom: 0.5em; +} + +ul { + list-style: disc; + margin-bottom: 0.5em; + margin-left: 1.25em; +} + +ul li { + margin-bottom: 0.25em; +} + +ol { + list-style: decimal; + margin-bottom: 0.5em; + margin-left: 1.25em; +} + +ol li { margin-bottom: 0.25em; } diff --git a/kubelab-ui/src/lib/components/Console.svelte b/kubelab-ui/src/lib/components/Console.svelte index 7e2269c..8b48100 100644 --- a/kubelab-ui/src/lib/components/Console.svelte +++ b/kubelab-ui/src/lib/components/Console.svelte @@ -146,8 +146,6 @@ div { height: 100%; width: 100%; - overflow: hidden; - border: 4px solid #fff; } div :global(.xterm) { height: 100%; diff --git a/kubelab-ui/src/routes/labs/[id]/[id]/+layout.svelte b/kubelab-ui/src/routes/labs/[id]/[id]/+layout.svelte index fd3bea5..5bdef20 100644 --- a/kubelab-ui/src/routes/labs/[id]/[id]/+layout.svelte +++ b/kubelab-ui/src/routes/labs/[id]/[id]/+layout.svelte @@ -209,7 +209,6 @@ {checkIfExerciseIsDone(currentExercise.id) ? 'step-success' : ''} " > -
  • {/each} {/key}