Merge pull request #1121 from bookwyrm-social/announcement-show-button-mobile

Announcement show button mobile
This commit is contained in:
Mouse Reeve 2021-05-21 10:05:59 -07:00 committed by GitHub
commit 2e7d84d53c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -16,8 +16,8 @@
<form class="control" action="{% url 'settings-announcements-delete' announcement.id %}" method="post"> <form class="control" action="{% url 'settings-announcements-delete' announcement.id %}" method="post">
{% csrf_token %} {% csrf_token %}
<button type="submit" class="button is-danger"> <button type="submit" class="button is-danger">
<span class="icon icon-x" aria-hidden="true"></span> <span class="icon icon-x m-0-mobile" aria-hidden="true"></span>
<span>{% trans "Delete" %}</span> <span class="is-sr-only-mobile">{% trans "Delete" %}</span>
</button> </button>
</form> </form>
</div> </div>

View file

@ -4,7 +4,7 @@
class="notification mb-1 p-3{% if not admin_mode %} is-hidden{% endif %} transition-y" class="notification mb-1 p-3{% if not admin_mode %} is-hidden{% endif %} transition-y"
{% if not admin_mode %}data-hide="hide-announcement-{{ announcement.id }}"{% endif %} {% if not admin_mode %}data-hide="hide-announcement-{{ announcement.id }}"{% endif %}
> >
<div class="columns mb-0"> <div class="columns mb-0 is-mobile">
<div class="column pb-0"> <div class="column pb-0">
{% if announcement.event_date %} {% if announcement.event_date %}
<strong>{{ announcement.event_date|naturalday|title }}:</strong> <strong>{{ announcement.event_date|naturalday|title }}:</strong>