diff --git a/app/assets/templates/admin/calendar/calendar.html.erb b/app/assets/templates/admin/calendar/calendar.html.erb index da2c895b7..c6f5eea43 100644 --- a/app/assets/templates/admin/calendar/calendar.html.erb +++ b/app/assets/templates/admin/calendar/calendar.html.erb @@ -28,6 +28,7 @@ ui-tour-backdrop="true" ui-tour-template-url="'<%= asset_path "shared/tour-step-template.html" %>'" ui-tour-use-hotkeys="true" + ui-tour-scroll-parent-id="content-main" post-render="setupCalendarTour">
diff --git a/app/assets/templates/admin/events/index.html.erb b/app/assets/templates/admin/events/index.html.erb index b8c0eb2ae..59a95be1d 100644 --- a/app/assets/templates/admin/events/index.html.erb +++ b/app/assets/templates/admin/events/index.html.erb @@ -23,6 +23,7 @@ ui-tour-backdrop="true" ui-tour-template-url="'<%= asset_path "shared/tour-step-template.html" %>'" ui-tour-use-hotkeys="true" + ui-tour-scroll-parent-id="content-main" post-render="setupEventsTour">
diff --git a/app/assets/templates/admin/invoices/index.html.erb b/app/assets/templates/admin/invoices/index.html.erb index 42a3713fb..f064cdee9 100644 --- a/app/assets/templates/admin/invoices/index.html.erb +++ b/app/assets/templates/admin/invoices/index.html.erb @@ -25,6 +25,7 @@ ui-tour-backdrop="true" ui-tour-template-url="'<%= asset_path "shared/tour-step-template.html" %>'" ui-tour-use-hotkeys="true" + ui-tour-scroll-parent-id="content-main" post-render="setupInvoicesTour">
diff --git a/app/assets/templates/admin/members/index.html.erb b/app/assets/templates/admin/members/index.html.erb index 2cf57fc87..0540e0b58 100644 --- a/app/assets/templates/admin/members/index.html.erb +++ b/app/assets/templates/admin/members/index.html.erb @@ -26,6 +26,7 @@ ui-tour-backdrop="true" ui-tour-template-url="'<%= asset_path "shared/tour-step-template.html" %>'" ui-tour-use-hotkeys="true" + ui-tour-scroll-parent-id="content-main" post-render="setupMembersTour">
diff --git a/app/assets/templates/admin/pricing/index.html.erb b/app/assets/templates/admin/pricing/index.html.erb index c1862751c..6a84225a4 100644 --- a/app/assets/templates/admin/pricing/index.html.erb +++ b/app/assets/templates/admin/pricing/index.html.erb @@ -20,6 +20,7 @@ ui-tour-backdrop="true" ui-tour-template-url="'<%= asset_path "shared/tour-step-template.html" %>'" ui-tour-use-hotkeys="true" + ui-tour-scroll-parent-id="content-main" post-render="setupPricingTour">
diff --git a/app/assets/templates/admin/trainings/index.html.erb b/app/assets/templates/admin/trainings/index.html.erb index 69d0f27be..f2ada0fdf 100644 --- a/app/assets/templates/admin/trainings/index.html.erb +++ b/app/assets/templates/admin/trainings/index.html.erb @@ -20,6 +20,7 @@ ui-tour-backdrop="true" ui-tour-template-url="'<%= asset_path "shared/tour-step-template.html" %>'" ui-tour-use-hotkeys="true" + ui-tour-scroll-parent-id="content-main" post-render="setupTrainingsTour">
diff --git a/app/assets/templates/machines/index.html.erb b/app/assets/templates/machines/index.html.erb index 976d062b5..c9edb9d28 100644 --- a/app/assets/templates/machines/index.html.erb +++ b/app/assets/templates/machines/index.html.erb @@ -25,6 +25,7 @@ ui-tour-backdrop="true" ui-tour-template-url="'<%= asset_path "shared/tour-step-template.html" %>'" ui-tour-use-hotkeys="true" + ui-tour-scroll-parent-id="content-main" post-render="setupMachinesTour">
diff --git a/app/assets/templates/spaces/index.html.erb b/app/assets/templates/spaces/index.html.erb index b930f90b7..a7e78399a 100644 --- a/app/assets/templates/spaces/index.html.erb +++ b/app/assets/templates/spaces/index.html.erb @@ -25,6 +25,7 @@ ui-tour-backdrop="true" ui-tour-template-url="'<%= asset_path "shared/tour-step-template.html" %>'" ui-tour-use-hotkeys="true" + ui-tour-scroll-parent-id="content-main" post-render="setupSpacesTour">
diff --git a/app/views/application/index.html.erb b/app/views/application/index.html.erb index 5fc78b03d..907317402 100644 --- a/app/views/application/index.html.erb +++ b/app/views/application/index.html.erb @@ -96,7 +96,7 @@ ui-tour-backdrop="true" ui-tour-template-url="'<%= asset_path "shared/tour-step-template.html" %>'" ui-tour-use-hotkeys="true" -> + ui-tour-scroll-parent-id="content-main">
<%= flash_messages %>