From 3668768919c1deaf6bf3e7074b5466c0909511aa Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Sun, 6 Jun 2021 21:44:08 -0700 Subject: [PATCH] Update not found page style. --- generator/src/render.js | 5 +++++ src/NotFoundReason.elm | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/generator/src/render.js b/generator/src/render.js index f03b437d..26b8c0c6 100755 --- a/generator/src/render.js +++ b/generator/src/render.js @@ -226,6 +226,11 @@ function wrapHtml(fromElm, contentJsonString) { transform: scale(1.5); } } + +#not-found-reason code { + color: rgb(226, 0, 124) !important; +} + diff --git a/src/NotFoundReason.elm b/src/NotFoundReason.elm index 8901b76f..eac1aeb0 100644 --- a/src/NotFoundReason.elm +++ b/src/NotFoundReason.elm @@ -32,7 +32,9 @@ document pathPatterns payload = { title = "Page not found" , body = Html.div - [ Attr.style "padding" "30px" ] + [ Attr.id "not-found-reason" + , Attr.style "padding" "30px" + ] (case payload.reason of NoMatchingRoute -> [ Html.text <| "No route found for "