This commit is contained in:
Ross
2021-08-21 10:00:25 +01:00
parent 33fce2fccf
commit 796ea1d8be
2 changed files with 9 additions and 3 deletions
+7 -1
View File
@@ -638,4 +638,10 @@ input {
.date:hover {
opacity: 100%;
}
}
.floating-header {
position: stick;
top: 1px;
background-color: darkslategrey;
}:where
+2 -2
View File
@@ -2,7 +2,7 @@
{% block content %}
<span class="floating-header">
<div class="floating-header">
{% if exam %}
<div>
@@ -24,6 +24,6 @@
<a href="{% url 'admin:rapids_rapid_change' question.id %}" title="Edit the Rapid using the admin interface">Admin Edit</a>
<a href="{% url 'rapids:question_user_answers' question.id %}" title="View user answers associated with this question">User answers</a>
{% endif %}
</span>
</div>
{% include 'rapids/question_display_block.html' %}
{% endblock %}