From 9c0d16b0ac84b946810e8a7621654cb83cc09904 Mon Sep 17 00:00:00 2001 From: Amy Kapernick Date: Wed, 31 Jan 2024 18:12:23 +0000 Subject: [PATCH] Fixed Mish's bug and added an extra paragraph to details --- src/app/actions.ts | 2 +- src/components/parts/details/styles.module.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/actions.ts b/src/app/actions.ts index 31eaf24..bb9452d 100644 --- a/src/app/actions.ts +++ b/src/app/actions.ts @@ -46,7 +46,7 @@ export async function submit (guest: string, formData: FormData) fieldValue = 'true' } - const fieldData = notionFields[type].replace('{{value}}', fieldValue) + const fieldData = notionFields[type].replace('{{value}}', fieldValue.replace('"', '\\"')) updatedData[id] = { ...updatedData[id], diff --git a/src/components/parts/details/styles.module.css b/src/components/parts/details/styles.module.css index fd31155..f329397 100644 --- a/src/components/parts/details/styles.module.css +++ b/src/components/parts/details/styles.module.css @@ -196,6 +196,10 @@ border-right: 1px solid $green; } + &:nth-of-type(5) { + margin-bottom: 4em; + } + &:last-of-type { padding-top: 4em; }