Improve quiz layout: add fixed topbar, include navigation, and clean up unused elements

- Add `.quiz-topbar` with fixed positioning and spacing in `quiz.scss`
- Update `base.html.twig` to include `quiz/nav.html.twig` in a new `nav` block
- Remove unused "Manage Quiz" button from `select_season.html.twig`
This commit is contained in:
2026-07-02 21:48:37 +02:00
parent d55cced5f7
commit 466f0aeb54
3 changed files with 10 additions and 1 deletions
+9
View File
@@ -85,6 +85,15 @@ input.btn-check:checked + label.answer-btn {
}
}
.quiz-topbar {
position: fixed;
top: 1rem;
right: 1rem;
z-index: 1030;
display: flex;
gap: 0.5rem;
}
.elimination-screen {
position: fixed;
top: 0;
+1
View File
@@ -1,2 +1,3 @@
{% extends 'base.html.twig' %}
{% block importmap %}{{ importmap('quiz') }}{% endblock %}
{% block nav %}{{ include('quiz/nav.html.twig') }}{% endblock %}
-1
View File
@@ -2,6 +2,5 @@
{% block body %}
<div class="quiz-form-narrow">
{{ form(form) }}
<a href="{{ path('tvdt_backoffice_index') }}" class="btn btn-outline-secondary">{{ 'Manage Quiz'|trans }}</a>
</div>
{% endblock body %}