Add return to top button

This commit is contained in:
eetukarvonen 2020-09-14 07:36:45 -04:00
parent 6b243e9c4a
commit 028c081f86
2 changed files with 12 additions and 0 deletions

View File

@ -59,3 +59,9 @@
visibility: visible; visibility: visible;
cursor: pointer; cursor: pointer;
} }
.scroller {
position: fixed;
right: 80px;
bottom: 30px;
}

View File

@ -19,4 +19,10 @@
{% else %} {% else %}
{% include '_empty_feed.html' %} {% include '_empty_feed.html' %}
{% endif %} {% endif %}
<div class="scroller">
<a href="#top" class="ui button">
<i style="margin: 0;" class="chevron up icon"></i>
</a>
</div>
</div>
{% endblock %} {% endblock %}