From 813df3128dce0da538c56941f1a2c548c89aa472 Mon Sep 17 00:00:00 2001 From: Alan Balen Schio Date: Wed, 2 Oct 2019 23:39:05 -0400 Subject: [PATCH] Add smooth scroll on page --- stylesheets/app.css | 1 + stylesheets/sass/_normalize.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/stylesheets/app.css b/stylesheets/app.css index fcbd12e..dd61d94 100644 --- a/stylesheets/app.css +++ b/stylesheets/app.css @@ -73,6 +73,7 @@ html { /* 4 */ -webkit-text-size-adjust: 100%; /* 4 */ + scroll-behavior: smooth; } /** diff --git a/stylesheets/sass/_normalize.scss b/stylesheets/sass/_normalize.scss index 08f8950..5001f7a 100644 --- a/stylesheets/sass/_normalize.scss +++ b/stylesheets/sass/_normalize.scss @@ -10,6 +10,7 @@ html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ + scroll-behavior: smooth; } /**