From 8d2171bc788a1d1a9963ad77a780af0194cee56b Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 9 Jan 2023 16:08:02 -0800 Subject: [PATCH] change center div to fit-content Signed-off-by: Arthur Lu --- css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/style.css b/css/style.css index 443caee..1523e5d 100644 --- a/css/style.css +++ b/css/style.css @@ -31,7 +31,7 @@ p { .center-div { min-width: 480px; max-width: 50%; - width: min-content; + width: fit-content; margin-left: auto; margin-right: auto; }