From f7110c83f660455eb2a83771a96ed545d9488aba Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Tue, 6 Feb 2024 14:04:40 +0800 Subject: [PATCH] Style the post container --- m4-oldagram/styles.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/m4-oldagram/styles.css b/m4-oldagram/styles.css index 889be83..1f5716f 100644 --- a/m4-oldagram/styles.css +++ b/m4-oldagram/styles.css @@ -125,6 +125,12 @@ body { width: 3rem; } +.post-container { + display: flex; + flex-direction: column; + gap: 2rem; +} + .post__author--name, .post__content-likes, .post__content--username { @@ -144,6 +150,10 @@ body { gap: 0.5rem; } +.post__img { + width: 100%; +} + .post__content--icons { display: flex; gap: 0.75rem;