make the "clear notifgications" button universal

master
Aevann1 2022-07-08 21:45:38 +02:00
parent 683c9c7bdd
commit a1fbe62c88
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@
{% endif %}
{% if standalone and level==1 %}
<div class="post-info mb-1 mr-2 {% if request.path == '/notifications' %}mt-5{% else %}mt-3{% endif %}">
<div class="post-info mb-1 mr-2 {% if request.path.startswith('/notifications') %}mt-4{% else %}mt-3{% endif %}">
{% if c.post and c.post.over_18 %}<span class="badge badge-danger text-small-extra mr-1">+18</span>{% endif %}
<span class="align-top">
{% if c.post %}

View File

@ -61,7 +61,7 @@
{% if request.path == '/notifications/posts' %}
{% with listing=notifications %}
<div class="mt-5">
<div class="mt-4">
{% include "submission_listing.html" %}
</div>
{% endwith %}