From 62aaffa314a97271f9d74281c648a1cd02d3707b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Og=C3=B3rek?= Date: Sat, 24 Jun 2023 19:31:36 +0200 Subject: [PATCH] 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): image Too narrow container (padded): image Fixes https://github.com/denoland/fresh/issues/1344 --- src/server/default_error_page.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/server/default_error_page.ts b/src/server/default_error_page.ts index e5f22c0a..43a62096 100644 --- a/src/server/default_error_page.ts +++ b/src/server/default_error_page.ts @@ -33,7 +33,6 @@ export default function DefaultErrorPage(props: ErrorPageProps) { background: "#f9fafb", margin: 16, minWidth: "300px", - width: "50%", }, }, h("p", {