Skip to content

Commit

Permalink
Added collapse button to tr.expanded council
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascumsille committed Aug 7, 2024
1 parent 3d5f1a4 commit 5840d3e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion _includes/council-expanded-tr.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<tr class="expanded">
<tr class="expanded collapse show" id="{{ c.council_slug }}-section">
<td colspan="5" class="p-3 p-lg-4">
<button class="btn btn-sm btn-outline-primary d-flex align-items-center mb-3" data-bs-toggle="collapse" data-bs-target="#{{ c.council_slug }}-section" aria-expanded="true">
<span class="me-1">Collapse this section</span>
{%- include icons/cross.svg classes=include.classes width=include.width height=include.height role=include.role -%}
</button>

<h2 class="h5 mb-0">
{{ include.council.council_name | default: '[[ council.council_name ]]' }}

Expand Down

0 comments on commit 5840d3e

Please sign in to comment.