From 028c081f86a48d93cf6b8b51687738660a3a2da7 Mon Sep 17 00:00:00 2001 From: eetukarvonen Date: Mon, 14 Sep 2020 07:36:45 -0400 Subject: [PATCH 1/2] Add return to top button --- app/static/styles.css | 6 ++++++ app/templates/twitter.html | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/app/static/styles.css b/app/static/styles.css index 3c49102..8baf21d 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -59,3 +59,9 @@ visibility: visible; cursor: pointer; } + +.scroller { + position: fixed; + right: 80px; + bottom: 30px; +} diff --git a/app/templates/twitter.html b/app/templates/twitter.html index 6e85f75..ea5a883 100644 --- a/app/templates/twitter.html +++ b/app/templates/twitter.html @@ -19,4 +19,10 @@ {% else %} {% include '_empty_feed.html' %} {% endif %} +
+ + + +
+ {% endblock %} From b2275938bb6648527cd27318959d1b9209ea18b2 Mon Sep 17 00:00:00 2001 From: eetukarvonen Date: Mon, 14 Sep 2020 09:44:26 -0400 Subject: [PATCH 2/2] Add return to top button to user.html template --- app/templates/user.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/templates/user.html b/app/templates/user.html index 5b9bf57..cfeee65 100644 --- a/app/templates/user.html +++ b/app/templates/user.html @@ -51,5 +51,10 @@ {% include '_twitter_post.html' %} {% endfor %} {% endif %} +
+ + + +
{% endblock %} \ No newline at end of file