From c8e1755086a6b92f91b2a854ada52e8dbe8b3c38 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Fri, 16 Sep 2022 22:35:34 +0800 Subject: [PATCH] adjust postPreview style --- styles/Home.module.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/styles/Home.module.css b/styles/Home.module.css index 83ed7b9..12bf98e 100644 --- a/styles/Home.module.css +++ b/styles/Home.module.css @@ -1,18 +1,19 @@ .container { - margin-left: 2rem; - margin-right: 2rem; margin-top: 2rem; } .postPreview { padding: 0.5rem; border-radius: 1rem; + max-width: 70%; } .postPreviewWrap { display: flex; flex-direction: row; - justify-content: space-around; + justify-content: space-between; align-items: center; cursor: pointer; + padding-left: 10%; + padding-right: 10%; }