瀏覽代碼

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);