Skip to content

Commit

Permalink
[QOLSVC-8437] add 'main' class to the appropriate tag to match latest…
Browse files Browse the repository at this point in the history
… CKAN

- Commit ckan/ckan@f5e04e19806 changed the main tag from using 'role' to 'class',
we need to incorporate this so that styles are properly applied to its content
  • Loading branch information
ThrawnCA committed Dec 9, 2024
1 parent a43b096 commit 0160e09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/data_qld/templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{% endblock %}

{% block maintag %}
<div role="main" class={{ h.set_background_image_class() }}>
<div role="main" class="main {{ h.set_background_image_class() }}">
{% endblock %}

{% block flash %}
Expand Down Expand Up @@ -80,4 +80,4 @@ <h1>My page content</h1>
</article>
{% endblock %}
</div>
{% endblock %}
{% endblock %}

0 comments on commit 0160e09

Please sign in to comment.