tidy up profiles - large images

This commit is contained in:
rimu 2024-10-21 15:55:55 +13:00
parent cbf44ef229
commit dfa95e3b12
4 changed files with 16 additions and 2 deletions

View file

@ -1589,6 +1589,11 @@ h1 .warning_badge {
overflow: hidden; overflow: hidden;
} }
.profile_bio img {
max-width: 100%;
height: auto;
}
#post_reply_markdown_editor_enabler { #post_reply_markdown_editor_enabler {
display: none; display: none;
position: absolute; position: absolute;

View file

@ -1263,6 +1263,13 @@ h1 .warning_badge {
overflow: hidden; overflow: hidden;
} }
.profile_bio {
img {
max-width: 100%;
height: auto;
}
}
#post_reply_markdown_editor_enabler { #post_reply_markdown_editor_enabler {
display: none; display: none;
position: absolute; position: absolute;

View file

@ -28,7 +28,7 @@
{% for person in people.items %} {% for person in people.items %}
<tr> <tr>
<td valign="top">{{ render_username(person) }}</td> <td valign="top">{{ render_username(person) }}</td>
<td>{{ person.about_html | safe if person.about_html }}</td> <td class="profile_bio">{{ person.about_html | safe if person.about_html }}</td>
<td valign="top">{{ person.post_count }}</td> <td valign="top">{{ person.post_count }}</td>
<td valign="top">{{ person.post_reply_count }}</td> <td valign="top">{{ person.post_reply_count }}</td>
</tr> </tr>

View file

@ -99,7 +99,9 @@
{{ _('Posts') }}: {{ user.post_count }}<br /> {{ _('Posts') }}: {{ user.post_count }}<br />
{{ _('Comments') }}: {{ user.post_reply_count }}<br /> {{ _('Comments') }}: {{ user.post_reply_count }}<br />
</p> </p>
{{ user.about_html|safe }} <div class="profile_bio">
{{ user.about_html|safe }}
</div>
{% if posts %} {% if posts %}
<h2 class="mt-4">Posts</h2> <h2 class="mt-4">Posts</h2>
<div class="post_list"> <div class="post_list">