change center div to fit-content

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-01-09 16:08:02 -08:00
parent d097266c3d
commit 8d2171bc78

View File

@ -31,7 +31,7 @@ p {
.center-div { .center-div {
min-width: 480px; min-width: 480px;
max-width: 50%; max-width: 50%;
width: min-content; width: fit-content;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }