소스 검색

fixed tree scrolling

= 1 년 전
부모
커밋
9e1904fb5b
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      resources/views/app/patient/note/dashboard.blade.php

+ 3 - 0
resources/views/app/patient/note/dashboard.blade.php

@@ -1610,6 +1610,9 @@ use App\Models\Handout;
                                 inline: "center"
                             });
                             section.addClass('spot-highlight');
+                            $("html, body").animate({
+                                scrollTop: section.offset().top-130
+                            }, 1000);
                             setTimeout(() => {
                                 section.removeClass('spot-highlight');
                             }, 1500);