From 8fc90db6a2aba583f7b0358bb4ba2b26dd7f635a Mon Sep 17 00:00:00 2001 From: Chris Dill Date: Thu, 17 Aug 2023 07:35:23 +0100 Subject: [PATCH] Add status/error message display --- src/routes/+error.svelte | 121 +++++++++++++++++++-------------------- static/css/global.css | 3 +- 2 files changed, 61 insertions(+), 63 deletions(-) diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte index 4bcd786..3d4b425 100644 --- a/src/routes/+error.svelte +++ b/src/routes/+error.svelte @@ -1,13 +1,12 @@ - Quartnzet - + Quartznet - {status}
- - - - - - -
-
-

{active}
-
-
-
-

This was a triumph! I'm making a note here: Huge success! +

+

{status} {$page.error?.message ?? ""}

+ +
+
+

{active}
+
+
+
+

+This was a triumph! I'm making a note here: Huge success! It's hard to overstate my satisfaction. Aperture Science: We do what we must because we can. @@ -289,31 +286,31 @@ And when you're dead I will be still alive. Still alive. Still alive.

- +
diff --git a/static/css/global.css b/static/css/global.css index 7297680..9fd22a7 100755 --- a/static/css/global.css +++ b/static/css/global.css @@ -94,7 +94,7 @@ a:hover { padding-left: 15px; margin-right: auto; margin-left: auto; -} +} @media (min-width: 576px) { .container { width: 540px; @@ -143,6 +143,7 @@ footer { color: var(--font-color); font-family: var(--font1); margin-top: 30px; + margin-bottom: 30px; } /* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */