mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -08:00
move communityname to title so they can collapse into one row
This commit is contained in:
parent
563bf2a31d
commit
c2db1ccdd2
3 changed files with 17 additions and 4 deletions
|
@ -1223,6 +1223,13 @@ div.navbar {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
.comment .comment_community {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
.comment .comment_community img {
|
||||||
|
height: 1rem;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
.comment a.unhide {
|
.comment a.unhide {
|
||||||
display: none;
|
display: none;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
|
@ -889,6 +889,14 @@ div.navbar {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.comment_community {
|
||||||
|
display: inline-block;
|
||||||
|
img {
|
||||||
|
height: 1rem;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
a.unhide {
|
a.unhide {
|
||||||
display: none;
|
display: none;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
|
@ -10,14 +10,12 @@
|
||||||
{% if teaser -%}
|
{% if teaser -%}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 hidable">
|
<div class="col-12 hidable">
|
||||||
in reply to: <a href="{{ url_for('activitypub.post_ap', post_id=post_reply.post.id, _anchor='comment_' + str(post_reply.id)) }}">{{ post_reply.post.title | truncate(80, True) }}</a>
|
reply to: <a href="{{ url_for('activitypub.post_ap', post_id=post_reply.post.id, _anchor='comment_' + str(post_reply.id)) }}">{{ post_reply.post.title | truncate(80, True) }}</a>
|
||||||
|
<span class="comment_community">in {{ render_communityname(post_reply.post.community) }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-auto">
|
|
||||||
{{ render_communityname(post_reply.post.community) }}
|
|
||||||
</div>
|
|
||||||
<div class="col-auto comment_author">
|
<div class="col-auto comment_author">
|
||||||
by
|
by
|
||||||
{{ render_username(post_reply.author) }}
|
{{ render_username(post_reply.author) }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue