From b97ea17950da4fe4c6610da8c6048e6e1867c748 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 7 Mar 2022 09:13:23 +0100 Subject: [PATCH] Fixed smooth scrolling which feels weird with client-side routing --- src/index.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/index.scss b/src/index.scss index c23c1067..a7290f6c 100644 --- a/src/index.scss +++ b/src/index.scss @@ -11,6 +11,10 @@ outline: none !important; } +:root { + scroll-behavior: auto; +} + html, body, #root { @@ -122,7 +126,7 @@ hr { .btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary.active, { - color: #fff; + color: #ffffff; } .dropdown-item,