mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
tidy up profiles - large images
This commit is contained in:
parent
cbf44ef229
commit
dfa95e3b12
4 changed files with 16 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
{% for person in people.items %}
|
||||
<tr>
|
||||
<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_reply_count }}</td>
|
||||
</tr>
|
||||
|
|
|
@ -99,7 +99,9 @@
|
|||
{{ _('Posts') }}: {{ user.post_count }}<br />
|
||||
{{ _('Comments') }}: {{ user.post_reply_count }}<br />
|
||||
</p>
|
||||
{{ user.about_html|safe }}
|
||||
<div class="profile_bio">
|
||||
{{ user.about_html|safe }}
|
||||
</div>
|
||||
{% if posts %}
|
||||
<h2 class="mt-4">Posts</h2>
|
||||
<div class="post_list">
|
||||
|
|
Loading…
Reference in a new issue