From 64a6ba545b123d46d43731ac1eba5fb02b9cda60 Mon Sep 17 00:00:00 2001 From: sudoer777 <78781902+sudoer777@users.noreply.github.com> Date: Fri, 26 Nov 2021 13:44:01 -0700 Subject: [PATCH] Adjust error page layout --- public/stylesheets/error.css | 3 +++ views/error.pug | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 public/stylesheets/error.css diff --git a/public/stylesheets/error.css b/public/stylesheets/error.css new file mode 100644 index 0000000..f1ac617 --- /dev/null +++ b/public/stylesheets/error.css @@ -0,0 +1,3 @@ +#mobile-view { + max-width: 100%; +} \ No newline at end of file diff --git a/views/error.pug b/views/error.pug index 51ec12c..43a7357 100644 --- a/views/error.pug +++ b/views/error.pug @@ -1,6 +1,9 @@ extends layout +block stylesheets + link(rel='stylesheet', href='/stylesheets/error.css') + block content h1= message h2= error.status - pre #{error.stack} + pre #{error.stack} \ No newline at end of file