-
Bug
-
Resolution: Fixed
-
Minor
-
3.1 regressions, 3.1.1, 3.2
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_31_STABLE
-
MDL-55362_master -
Easy
-
When a topic section is added to the site front page with the option "Use default section name" checked, no section name is displayed, but an empty h2 tag is still created. This can lead to a small cosmetic problem, e.g. if the topic section contains an image, the top of the image is not aligned with the top of the surrounding blocks (with theme "clean", see image below). To solve this, a negative margin must be added to the style of the next element (also, creating an empty h2 tag doesn't seem correct).
Steps to reproduce :
- under "Front page settings/Edit settings", verify that option "Include a topic section" is checked
- add some content to the topic section on the front page (turn editing on and click the cog up the top left), leaving the option "Use default section name" checked
- verify that there is an empty h2 tag inside <div "class="box generalbox sitetopic">
- has a non-specific relationship to
-
MDL-53230 Ensure empty section names are saved as NULL in database
-
- Closed
-