From 5d76ee1e01fc3f866ddfa6832771d4247daf46cf Mon Sep 17 00:00:00 2001 From: Mawoka Date: Wed, 24 May 2023 19:04:02 +0200 Subject: [PATCH] :bug: Fixed some minor things --- .../components/markdown/edit.svelte | 2 +- .../quiztivity/components/memory/edit.svelte | 2 +- .../lib/quiztivity/components/pdf/edit.svelte | 5 --- frontend/src/lib/quiztivity/editor.svelte | 43 ++++++++----------- frontend/src/routes/edit/+page.svelte | 2 +- 5 files changed, 22 insertions(+), 32 deletions(-) diff --git a/frontend/src/lib/quiztivity/components/markdown/edit.svelte b/frontend/src/lib/quiztivity/components/markdown/edit.svelte index 6128518..07b3b3a 100644 --- a/frontend/src/lib/quiztivity/components/markdown/edit.svelte +++ b/frontend/src/lib/quiztivity/components/markdown/edit.svelte @@ -4,7 +4,7 @@ - file, You can obtain one at https://mozilla.org/MPL/2.0/. --> - -

hkgfdasuvzfgdhagivk!

diff --git a/frontend/src/lib/quiztivity/editor.svelte b/frontend/src/lib/quiztivity/editor.svelte index b2f4b46..c3e02a1 100644 --- a/frontend/src/lib/quiztivity/editor.svelte +++ b/frontend/src/lib/quiztivity/editor.svelte @@ -96,30 +96,25 @@ -
-
-
- { - selected_type = null; - }}>{$t('quiztivity.editor.add_new')} - {$t('quiztivity.editor.delete')} - {$t('quiztivity.editor.move_left')} - {$t('quiztivity.editor.move_right')} -
-
+
+ { + selected_type = null; + }}>{$t('quiztivity.editor.add_new')} + {$t('quiztivity.editor.delete')} + {$t('quiztivity.editor.move_left')} + {$t('quiztivity.editor.move_right')}
diff --git a/frontend/src/routes/edit/+page.svelte b/frontend/src/routes/edit/+page.svelte index edbca73..73c95fb 100644 --- a/frontend/src/routes/edit/+page.svelte +++ b/frontend/src/routes/edit/+page.svelte @@ -7,7 +7,7 @@ import Editor from '$lib/editor.svelte'; import { getLocalization } from '$lib/i18n'; import { navbarVisible } from '$lib/stores'; - import { QuizQuestionType } from '../../lib/quiz_types'; + import { QuizQuestionType } from '$lib/quiz_types'; navbarVisible.set(false);