Browse Source

add empty line

yohei0125 4 years ago
parent
commit
c1ae74c952
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/app/src/client/util/smooth-scroll.ts

+ 1 - 0
packages/app/src/client/util/smooth-scroll.ts

@@ -7,6 +7,7 @@ export const smoothScrollIntoView = (element: HTMLElement, offsetTop = 0, scroll
   const rectTop = targetElement.getBoundingClientRect().top;
   const rectTop = targetElement.getBoundingClientRect().top;
 
 
   const top = window.pageYOffset + rectTop - offsetTop;
   const top = window.pageYOffset + rectTop - offsetTop;
+
   scrollElement.scrollTo({
   scrollElement.scrollTo({
     top,
     top,
     behavior: 'smooth',
     behavior: 'smooth',