Skip to content

'Show more' not working correctly when two appear in a single learning path (Taxila) #1231

@PhilReedData

Description

@PhilReedData

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:

  1. Go to https://taxila.nl/learning_paths/test-become-an-hpc-user-as-a-researcher
  2. Click 'Show more' in learning objectives.
  3. The prerequisites box expands instead. This is higher up the page.

Expected behavior

Each 'Show more/less' should operate independently.

Screenshots

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions