Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.9.7, 3.10.4, 3.11
Description
The indentation of the text in the modal of time limit when starting a timer quiz not displayed correctly.
Steps to replicate
- Log in as an admin/teacher
- Create a course "Timer course"
- Create a quiz "Timed Quiz" , add 3-4 questions to the quiz.
- On the quiz setting page, enable a time limit of 2 minutes.
- Attempt/preview the quiz
Observed behavior
The text of the warning when entering the timed quiz does not occupy the entire width of the warning and the text is shifted to the right.
Expected behavior
The text of the warning when entering the timed quiz must occupy the entire width of the warning.
What I found?
I found that when using the "addElement" method of the MoodleQuickForm class, what is being done below is adding an HTML div tag with the CSS class of 'mod-col-3' with no content inside it, following this div another div is added with the CSS class of 'mod-col-9' in which the text is included.