From 90d66f5e6810134fb4adac83fda51869b5e5900e Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Mon, 23 Dec 2024 09:29:50 +1300 Subject: [PATCH] popup user profile - css tweak --- app/static/styles.css | 3 +++ app/static/styles.scss | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/static/styles.css b/app/static/styles.css index 9417b433..fa59a100 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -1976,6 +1976,9 @@ form h5 { .render_username .user_preview .card { width: 300px; } +.render_username .user_preview .card .preview_avatar_image { + max-width: 50%; +} .render_username .user_preview .card .preview_avatar_image img { max-width: 100%; } diff --git a/app/static/styles.scss b/app/static/styles.scss index 04bc22b6..a3487b1b 100644 --- a/app/static/styles.scss +++ b/app/static/styles.scss @@ -1694,8 +1694,12 @@ form { .user_preview .card { width: 300px; - .preview_avatar_image img { - max-width: 100%; + .preview_avatar_image { + max-width: 50%; + + img { + max-width: 100%; + } } } }