diff --git a/static/css/index.css b/static/css/index.css index 2b5929f..3be413e 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -1,6 +1,6 @@ .post { border: 2px solid purple; - height: 10%; + height: 8vh; display: flex; justify-items: center; margin-bottom: 10px; @@ -9,9 +9,13 @@ .post img { display: block; height: 100%; + object-fit: cover; } .post span { + + display: block; + margin-left: 10px; text-align: left; line-height: 10px;