-
Bug
-
Resolution: Fixed
-
Minor
-
3.10.6, 3.11
-
MOODLE_310_STABLE, MOODLE_311_STABLE
-
MOODLE_310_STABLE, MOODLE_311_STABLE
-
MDL-71152-master -
When using anchor in URLs, page should scroll to the element with the same id as the anchor. But adding the fixed header height is needed so elements don't hide underneath the header.
There is a fix for that: https://github.com/moodle/moodle/blob/master/theme/boost/scss/moodle/drawer.scss#L9-L16
But this fix does not work propperly with elements having"display:flex".
Test:
- Login and access the dashboard
- WIth the inspector look for some id of the righ side blocks (Should be something like "inst18")
- Add "#inst18" to the browser URL and press enter
- Check that page scroll to the block but it is partially hidden by the fixed header.