Merge pull request #57 from eetukarvonen/top-button
Add return to top button (#33)
This commit is contained in:
commit
f9acfa69ea
@ -59,3 +59,9 @@
|
||||
visibility: visible;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.scroller {
|
||||
position: fixed;
|
||||
right: 80px;
|
||||
bottom: 30px;
|
||||
}
|
||||
|
@ -19,4 +19,10 @@
|
||||
{% else %}
|
||||
{% include '_empty_feed.html' %}
|
||||
{% endif %}
|
||||
<div class="scroller">
|
||||
<a href="#top" class="ui button">
|
||||
<i style="margin: 0;" class="chevron up icon"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -51,5 +51,10 @@
|
||||
{% include '_twitter_post.html' %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<div class="scroller">
|
||||
<a href="#top" class="ui button">
|
||||
<i style="margin: 0;" class="chevron up icon"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user