From 52ab785764b4f1edd33a574dd8979e4f23f97867 Mon Sep 17 00:00:00 2001 From: Arjun Singh Yadav Date: Thu, 1 Jul 2021 00:04:44 +0530 Subject: [PATCH] fix: set answer notification alignment to bottom (#27022) On focus to the answer submition notification, the notification was scrolled to center of screen. This behaviour was on Chrome(87+) browser. This commits overrides the focus jQuery plugin to set the alignment of answer notifications to the bottom of the viewport. Fix the custom focus jQuery plugin Co-authored-by: Agrendalath --- lms/templates/courseware/courseware.html | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/lms/templates/courseware/courseware.html b/lms/templates/courseware/courseware.html index 2e53b5611a..9391881336 100644 --- a/lms/templates/courseware/courseware.html +++ b/lms/templates/courseware/courseware.html @@ -112,6 +112,48 @@ from openedx.features.course_experience import course_home_page_title, DISABLE_C % endif + + ${HTML(fragment.foot_html())}