From 52904575b070667037507ff7404212bcc17dcbc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Sun, 4 Dec 2022 20:14:59 +0100 Subject: [PATCH] =?UTF-8?q?hotfix:=20opraveno=20zobrazov=C3=A1n=C3=AD=20sm?= =?UTF-8?q?azat=20hodnocen=C3=AD=20v=20detailu=20=C5=99e=C5=A1en=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mamweb/static/css/mamweb.css | 7 +++++++ odevzdavatko/templates/odevzdavatko/detail.html | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/mamweb/static/css/mamweb.css b/mamweb/static/css/mamweb.css index 236072f5..f4d8c0f8 100644 --- a/mamweb/static/css/mamweb.css +++ b/mamweb/static/css/mamweb.css @@ -425,6 +425,13 @@ textarea.feedback { margin: 5px; } +/* td obsahující křížek v detailu řešení se nesmí smrštit na 0 */ +/* FIXME až bude firefox příčetný, nahradit td:has(.smazat_hodnoceni) */ +.has_smazat_hodnoceni { + min-width: 20px; + padding: 3px; +} + /* titulni stranka */ diff --git a/odevzdavatko/templates/odevzdavatko/detail.html b/odevzdavatko/templates/odevzdavatko/detail.html index 207e2976..a3f986d5 100644 --- a/odevzdavatko/templates/odevzdavatko/detail.html +++ b/odevzdavatko/templates/odevzdavatko/detail.html @@ -109,7 +109,7 @@ $(document).ready(function(){ {{ subform.body }} {{ subform.deadline_body }} {{ subform.feedback }} - Smazat + Smazat {% endfor %} @@ -125,7 +125,7 @@ $(document).ready(function(){ {{ form.empty_form.body }} {{ form.empty_form.deadline_body }} {{ form.empty_form.feedback }} - Smazat + Smazat