From 5c6693bbcbcc2f946e62f63c134fdb42256aef4e Mon Sep 17 00:00:00 2001 From: Leilukin 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; }