diff options
Diffstat (limited to 'client/src/sass/application.scss')
-rw-r--r-- | client/src/sass/application.scss | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 1dbdd4064..4f2278414 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -18,6 +18,10 @@ $assets-path: '../../assets/'; | |||
18 | display: none !important; | 18 | display: none !important; |
19 | } | 19 | } |
20 | 20 | ||
21 | html { | ||
22 | scroll-behavior: smooth; | ||
23 | } | ||
24 | |||
21 | body { | 25 | body { |
22 | /*** theme ***/ | 26 | /*** theme ***/ |
23 | // now beware node-sass requires interpolation | 27 | // now beware node-sass requires interpolation |
@@ -307,7 +311,7 @@ table { | |||
307 | 311 | ||
308 | .anchor { | 312 | .anchor { |
309 | position: relative; | 313 | position: relative; |
310 | top: #{-($header-height + 20px)}; | 314 | top: #{-($header-height + 20px)}; // offsetTop scrollToAnchor |
311 | } | 315 | } |
312 | 316 | ||
313 | @media screen and (max-width: #{breakpoint(xxl)}) { | 317 | @media screen and (max-width: #{breakpoint(xxl)}) { |