-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1712: Added “Expand all steps” link on step by step #354
Conversation
682c2e8
to
27f4fda
Compare
27f4fda
to
e734505
Compare
<span class="bold"> | ||
{{ has_title ? content.os2loop_documents_step_title : content.os2loop_documents_step_text }} | ||
</span> | ||
</span> | ||
{% else %} | ||
<a class="collapsed step--collapse-toggle" type="button" data-toggle="collapse" data-target="#paragraph-id-{{ paragraph.id() }}"> | ||
<a class="{{ class_collapsed }} step--collapse-toggle" type="button" data-toggle="{{ class_collapse }}" data-target="#paragraph-id-{{ paragraph.id() }}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not button?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because I didn't write the code. But it makes sense to change it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The a
element contains the step header (title) and a button
element may not be appropriate for this use.
69a5f43
to
a01a0aa
Compare
https://leantime.itkdev.dk/dashboard/home#/tickets/showTicket/1712
Adds “Expand all steps” link to Step by step paragraphs.
Before:
After:
After clicking “Expand all steps”: