From 83818ecc738d5d3b31d1447b4033cd0d879d03bc Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sun, 26 May 2024 18:53:09 +0800 Subject: [PATCH] Fix CSS grid of guestbook form --- src/assets/css/comments.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/assets/css/comments.css b/src/assets/css/comments.css index 73997158..c1d8b545 100644 --- a/src/assets/css/comments.css +++ b/src/assets/css/comments.css @@ -19,7 +19,6 @@ .comment-form-title { text-align: center; - margin-bottom: 0.5em; font-size: 1.25em; } @@ -30,7 +29,7 @@ .input-horizontal-wrapper { display: grid; - grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); + grid-template-columns: repeat(auto-fit, minmax(min(100%/1, max(16rem, 100%/3)), 1fr)); } .input-vertical,