mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-03 17:31:58 +03:00
Update not found page style.
This commit is contained in:
parent
e9dd54c4b0
commit
3668768919
@ -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">
|
||||
|
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user