mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
Fix the CSS for the following page
This commit is contained in:
parent
1997436015
commit
541bf1c63b
3 changed files with 4 additions and 9 deletions
|
@ -7,7 +7,7 @@
|
|||
</p>
|
||||
<p align="center">
|
||||
<a href="https://travis-ci.org/tsileo/microblog.pub"><img src="https://travis-ci.org/tsileo/microblog.pub.svg?branch=master" alt="Build Status"></a>
|
||||
<a href="https://matrix.to/#/#microblog.pub:matrix.org"><img src="https://img.shields.io/badge/Matrix-%23microblog.pub-blue.svg" alt="#microblog.pub on Matrix"></a>
|
||||
<a href="https://matrix.to/#/#microblog.pub:matrix.org"><img src="https://img.shields.io/badge/matrix-%23microblog.pub-blue.svg" alt="#microblog.pub on Matrix"></a>
|
||||
<a href="https://github.com/tsileo/microblog.pub/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-AGPL_3.0-blue.svg?style=flat" alt="License"></a>
|
||||
</p>
|
||||
|
||||
|
|
|
@ -273,13 +273,6 @@ class MicroblogPubBackend(Backend):
|
|||
if obj:
|
||||
self._handle_replies_delete(as_actor, obj)
|
||||
|
||||
# FIXME(tsileo): handle threads
|
||||
# obj = delete._get_actual_object()
|
||||
# if obj.type_enum == ActivityType.NOTE:
|
||||
# obj._delete_from_threads()
|
||||
|
||||
# TODO(tsileo): also purge the cache if it's a reply of a published activity
|
||||
|
||||
@ensure_it_is_me
|
||||
def outbox_delete(self, as_actor: ap.Person, delete: ap.Delete) -> None:
|
||||
DB.outbox.update_one(
|
||||
|
|
|
@ -9,7 +9,9 @@
|
|||
|
||||
<div id="following">
|
||||
{% for followed in following_data %}
|
||||
{{ utils.display_actor(followed) }}
|
||||
<div style="height: 100px;">
|
||||
{{ utils.display_actor_inline(followed, size=80) }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue