Przeglądaj źródła

fixed tree scrolling

= 1 rok temu
rodzic
commit
9e1904fb5b

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