From dfa95e3b12e3b2e91b0fb292da96c775e837ca3d Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Mon, 21 Oct 2024 15:55:55 +1300 Subject: [PATCH] tidy up profiles - large images --- app/static/styles.css | 5 +++++ app/static/styles.scss | 7 +++++++ app/templates/instance/people.html | 2 +- app/templates/user/show_profile.html | 4 +++- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/app/static/styles.css b/app/static/styles.css index c3e97385..63114c4a 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -1589,6 +1589,11 @@ h1 .warning_badge { overflow: hidden; } +.profile_bio img { + max-width: 100%; + height: auto; +} + #post_reply_markdown_editor_enabler { display: none; position: absolute; diff --git a/app/static/styles.scss b/app/static/styles.scss index ea128ba1..4d3f9d37 100644 --- a/app/static/styles.scss +++ b/app/static/styles.scss @@ -1263,6 +1263,13 @@ h1 .warning_badge { overflow: hidden; } +.profile_bio { + img { + max-width: 100%; + height: auto; + } +} + #post_reply_markdown_editor_enabler { display: none; position: absolute; diff --git a/app/templates/instance/people.html b/app/templates/instance/people.html index 69ec903d..a93fe188 100644 --- a/app/templates/instance/people.html +++ b/app/templates/instance/people.html @@ -28,7 +28,7 @@ {% for person in people.items %} {{ render_username(person) }} - {{ person.about_html | safe if person.about_html }} + {{ person.about_html | safe if person.about_html }} {{ person.post_count }} {{ person.post_reply_count }} diff --git a/app/templates/user/show_profile.html b/app/templates/user/show_profile.html index 2b7276e7..4a2b6066 100644 --- a/app/templates/user/show_profile.html +++ b/app/templates/user/show_profile.html @@ -99,7 +99,9 @@ {{ _('Posts') }}: {{ user.post_count }}
{{ _('Comments') }}: {{ user.post_reply_count }}

- {{ user.about_html|safe }} +
+ {{ user.about_html|safe }} +
{% if posts %}

Posts