-
Improvement
-
Resolution: Fixed
-
Minor
-
5.0
-
MOODLE_500_STABLE
-
MOODLE_500_STABLE
-
MDL-84346-main -
-
-
2
-
HQ 2025 Sprint I1.2 Moppies
The course page shows a nice interactable completion button; however, when the same buttons are used on another page (for example, the course overview), the same HTML looks completely different.
The reason is that the button has many CSS exceptions that only apply to the course page.
This is how it looks in the course:
This is when the same element is used in the activities overview page:
The completion button is rendered using the course/format/classes/output/local/content/cm/completion.php class.
This issue is about:
- Improving the button SCSS to unify the styles
- Try using core\output\local\properties\button for the different stylings