Fix chat css
This commit is contained in:
parent
3cd95e9349
commit
1749e64802
2 changed files with 3 additions and 7 deletions
|
@ -1357,9 +1357,7 @@ class ContestClarificationAjax(ContestMixin, DetailView):
|
||||||
raise Http404()
|
raise Http404()
|
||||||
|
|
||||||
polling_time = 1 # minute
|
polling_time = 1 # minute
|
||||||
last_one_minute = last_five_minutes = timezone.now() - timezone.timedelta(
|
last_one_minute = timezone.now() - timezone.timedelta(minutes=polling_time)
|
||||||
minutes=polling_time
|
|
||||||
)
|
|
||||||
|
|
||||||
queryset = ContestProblemClarification.objects.filter(
|
queryset = ContestProblemClarification.objects.filter(
|
||||||
problem__in=self.object.contest_problems.all(), date__gte=last_one_minute
|
problem__in=self.object.contest_problems.all(), date__gte=last_one_minute
|
||||||
|
|
|
@ -164,9 +164,10 @@
|
||||||
.info-pic {
|
.info-pic {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
|
width: 3em;
|
||||||
}
|
}
|
||||||
#chat-info {
|
#chat-info {
|
||||||
height: 10%;
|
height: 3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 800px) {
|
@media (min-width: 800px) {
|
||||||
|
@ -195,9 +196,6 @@
|
||||||
.active-span {
|
.active-span {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
#chat-info {
|
|
||||||
height: 5%;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
{% endcompress %}
|
{% endcompress %}
|
Loading…
Reference in a new issue