Skip to content

Commit 52a87d7

Browse files
committed
[Scorecards] Added fixed nav button to jump straight to questions on mobile
1 parent d1bac26 commit 52a87d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scoring/templates/scoring/section.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,9 @@ <h3 class="mb-4">Key takeaways</h3>
164164
</div>
165165
{% endif %}
166166

167-
<div class="container py-5 py-lg-6 js-dynamic-content">
167+
<a href="#section-questions" class="position-fixed btn btn-sm btn-primary btn-md-none" style="bottom: 1rem; right: 1rem; z-index: 2">See questions in this section</a>
168+
169+
<div id="section-questions" class="container py-5 py-lg-6 js-dynamic-content">
168170
<h3 class="mb-4" id="questions">Questions in this section</h3>
169171

170172
{% if not section.is_combined %}

0 commit comments

Comments
 (0)