From c24d25d1b08a4a929ea6163da5d39cfcc32a5919 Mon Sep 17 00:00:00 2001 From: "Schwinghammer, Max" Date: Tue, 11 Jun 2024 11:22:56 +0200 Subject: [PATCH] Quickfix: Post style --- src/main/web/src/scenes/Home/components/post/Post.css | 1 + src/main/web/src/scenes/Post/PostDetail.css | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/main/web/src/scenes/Home/components/post/Post.css b/src/main/web/src/scenes/Home/components/post/Post.css index bd48384d..5a5bca9b 100644 --- a/src/main/web/src/scenes/Home/components/post/Post.css +++ b/src/main/web/src/scenes/Home/components/post/Post.css @@ -17,6 +17,7 @@ height: auto; max-width: 260px; max-height: 170px; + min-height: 170px; top: 50%; transform: translateY(-50%); position: relative; diff --git a/src/main/web/src/scenes/Post/PostDetail.css b/src/main/web/src/scenes/Post/PostDetail.css index 24f3f6b2..6af81b76 100644 --- a/src/main/web/src/scenes/Post/PostDetail.css +++ b/src/main/web/src/scenes/Post/PostDetail.css @@ -53,8 +53,10 @@ height: auto; max-height: 250px; max-width: 420px; + min-height: 230px; position: relative; border-radius: 10px; + object-fit: contain; } .post-detail-infos {