diff --git a/files/global.css b/files/global.css index 2327d89..8795136 100644 --- a/files/global.css +++ b/files/global.css @@ -90,7 +90,7 @@ figure { .footer a img { height: 22px !important; margin-left: 3px; - vertical-align: text-bottom + vertical-align: text-bottom; } .navbar { diff --git a/templates/index.html.j2 b/templates/index.html.j2 index dd21ae7..0a4a973 100644 --- a/templates/index.html.j2 +++ b/templates/index.html.j2 @@ -182,8 +182,7 @@ } function topFunction() { - document.body.scrollTop = 0; - document.documentElement.scrollTop = 0; + window.scrollTo({ top: 0, behavior: 'smooth' }) } {%- endif %}