Update not found page style.

This commit is contained in:
Dillon Kearns 2021-06-06 21:44:08 -07:00
parent e9dd54c4b0
commit 3668768919
2 changed files with 8 additions and 1 deletions

View File

@ -226,6 +226,11 @@ function wrapHtml(fromElm, contentJsonString) {
transform: scale(1.5);
}
}
#not-found-reason code {
color: rgb(226, 0, 124) !important;
}
</style>
<link rel="preload" href="/elm-pages.js" as="script">
<link rel="preload" href="/index.js" as="script">

View File

@ -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 "