From b7f880ebf614c693f8c6a0e6054fa63cbf273d87 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Tue, 29 Aug 2023 19:54:54 +0800 Subject: [PATCH] Horizontally align buttons for larger screens --- css/style-index.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/css/style-index.css b/css/style-index.css index 5bd750bb..81d11eb7 100644 --- a/css/style-index.css +++ b/css/style-index.css @@ -99,8 +99,7 @@ body { } body, -main, -.index__btn-wrapper { +main { display: flex; align-items: center; justify-content: center; @@ -125,7 +124,9 @@ p { } .index__btn-wrapper { + display: flex; flex-wrap: wrap; + justify-content: center; margin: 1.5rem 0; }