From 60ed8cab6c12f32f5f03eacc5b9f85c0cc503312 Mon Sep 17 00:00:00 2001 From: Sindre Kjelsrud Date: Sun, 14 Jan 2024 14:44:49 +0100 Subject: [PATCH] :iphone: :lipstick: fix responiveness & some styling Co-authored-by: haraldnilsen Signed-off-by: Sindre Kjelsrud --- .../components/form/answerbox/AnswerBox.svelte | 11 +++++++++-- .../src/components/form/footer/Footer.svelte | 2 +- .../components/form/header/FormHeader.svelte | 13 +++++++------ .../components/userform/UserFormInput.svelte | 18 +++++++++++------- frontend/src/routes/form/[slug]/+page.svelte | 12 ++++++++++-- frontend/src/routes/info/+page.svelte | 4 ++-- 6 files changed, 40 insertions(+), 20 deletions(-) diff --git a/frontend/src/components/form/answerbox/AnswerBox.svelte b/frontend/src/components/form/answerbox/AnswerBox.svelte index 983d022..a7f7c8e 100644 --- a/frontend/src/components/form/answerbox/AnswerBox.svelte +++ b/frontend/src/components/form/answerbox/AnswerBox.svelte @@ -14,6 +14,8 @@ let empathy:string let helpfulness:string + let isExpanded:boolean = false + const handleFormUpdate = () => { if (knowledge && empathy && helpfulness) { dispatch("update", true) @@ -64,8 +66,13 @@

Svar {answerNum}:

-
- {answerText} +
+
+ {answerText} +
+
diff --git a/frontend/src/components/form/footer/Footer.svelte b/frontend/src/components/form/footer/Footer.svelte index fbede0f..c6e8daf 100644 --- a/frontend/src/components/form/footer/Footer.svelte +++ b/frontend/src/components/form/footer/Footer.svelte @@ -27,7 +27,7 @@ -
+