fix: error page content cut off (#1356)

Flex container will take care of the rest; centering, padding, and
making it not expand unnecessarily.

Too wide container (centered):
<img width="1728" alt="image"
src="https://github.com/denoland/fresh/assets/1523305/8d4ee8fa-0854-4eaa-8ef5-d869742d69dc">

Too narrow container (padded):
<img width="666" alt="image"
src="https://github.com/denoland/fresh/assets/1523305/48b2ab40-9943-4068-a376-222b1cc2919c">

Fixes https://github.com/denoland/fresh/issues/1344
This commit is contained in:
Kamil Ogórek
2023-06-24 19:31:36 +02:00
committed by GitHub
parent ae984924e5
commit 62aaffa314
-1
View File
@@ -33,7 +33,6 @@ export default function DefaultErrorPage(props: ErrorPageProps) {
background: "#f9fafb",
margin: 16,
minWidth: "300px",
width: "50%",
},
},
h("p", {