diff --git a/apps/dashboard/app/javascript/alert.js b/apps/dashboard/app/javascript/alert.js index 381753300..b2ca7aac6 100644 --- a/apps/dashboard/app/javascript/alert.js +++ b/apps/dashboard/app/javascript/alert.js @@ -3,6 +3,7 @@ export function alert(message) { const div = alertDiv(message); const main = document.getElementById('main_container'); main.prepend(div); + div.scrollIntoView({ behavior: 'smooth' }); } function alertDiv(message) {