From 6e6b247bf97f0207b56b86f6d6c1ec5a4e4aa35f Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Fri, 3 Jun 2022 14:07:27 -0500 Subject: [PATCH] Move js to css --- templates/problem/list-base.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/templates/problem/list-base.html b/templates/problem/list-base.html index d97dc83..869a626 100644 --- a/templates/problem/list-base.html +++ b/templates/problem/list-base.html @@ -42,6 +42,14 @@ padding-top: 4px; } + {% else %} + {% endif %} {% endblock %} @@ -226,9 +234,6 @@ {% if request.in_contest_mode %} $('.left-sidebar').hide(); - if (window.matchMedia('(min-width: 800px)').matches) { - $('.middle-content').css('max-width', '80%'); - } {% endif %} });