mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
Better mobile display for notifications
This commit is contained in:
parent
085d3270a3
commit
1d79bb58e1
1 changed files with 7 additions and 2 deletions
|
@ -4,14 +4,19 @@
|
|||
{% block title %}{% trans "Notifications" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<header class="columns">
|
||||
<header class="columns is-mobile">
|
||||
<div class="column">
|
||||
<h1 class="title">{% trans "Notifications" %}</h1>
|
||||
</div>
|
||||
|
||||
<form name="clear" action="/notifications" method="POST" class="column is-narrow">
|
||||
{% csrf_token %}
|
||||
<button class="button is-danger is-light" type="submit" class="secondary">{% trans "Delete notifications" %}</button>
|
||||
{% spaceless %}
|
||||
<button class="button is-danger is-light" type="submit">
|
||||
<span class="icon icon-x m-0-mobile" aria-hidden="true"></span>
|
||||
<span class="is-sr-only-mobile">{% trans "Delete notifications" %}</span>
|
||||
</button>
|
||||
{% endspaceless %}
|
||||
</form>
|
||||
</header>
|
||||
|
||||
|
|
Loading…
Reference in a new issue