From b65ec6463bf8ff858d622b61909e9227f0f6acf4 Mon Sep 17 00:00:00 2001 From: imperosol Date: Sun, 10 Nov 2024 16:18:56 +0100 Subject: [PATCH] fix picture display in profile page --- core/static/user/user_detail.scss | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/core/static/user/user_detail.scss b/core/static/user/user_detail.scss index a3b5f1cf..87a3d199 100644 --- a/core/static/user/user_detail.scss +++ b/core/static/user/user_detail.scss @@ -130,7 +130,7 @@ main { width: 50%; display: flex; flex-direction: row; - justify-content: flex-end; + justify-content: space-evenly; @media (max-width: 960px) { width: 100%; @@ -143,21 +143,14 @@ main { } > .user_profile_pictures_bigone { - flex-grow: 9; - flex-basis: 20em; display: flex; justify-content: center; - align-items: center; > img { max-height: 100%; - max-width: 100%; - object-fit: contain; @media (max-width: 960px) { - max-width: 300px; - width: 100%; - object-fit: contain; + width: 300px; } } } @@ -169,8 +162,6 @@ main { justify-content: center; align-items: center; gap: 20px; - flex-grow: 1; - flex-basis: 14em; @media (max-width: 960px) { flex-direction: row;