Describe the bug
Clicking 'show more' does not work correctly, when appearing in two places on the same learning path. At least in one instance where the last line of the learning objectives box doesn't quite fit in the area. There is no error message in the browser console.
To Reproduce
Steps to reproduce the behavior:
- Go to https://taxila.nl/learning_paths/test-become-an-hpc-user-as-a-researcher
- Click 'Show more' in learning objectives.
- The prerequisites box expands instead. This is higher up the page.
Expected behavior
Each 'Show more/less' should operate independently.
Screenshots
Desktop (please complete the following information):
- OS: macOS 15.7.3
- Browser Chrome and Firefox
- Version latest
Additional context
Add any other context about the problem here.
I think this has been mentioned before but I cannot find an Issue. Might be an edge case because of the text boxes only slightly being long enough to require expandable class.