From b5206fad44d0385ecc1b28d0d2e6653cb8d701f6 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Tue, 13 Jul 2021 11:35:23 +0200 Subject: [PATCH] normal font weight for the onsite_access variable and warning box centered fixes #173 --- cara/apps/calculator/static/css/report.css | 2 +- .../themes/cern/templates/calculator.report.html.j2 | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cara/apps/calculator/static/css/report.css b/cara/apps/calculator/static/css/report.css index d3b3bef5..f6efde67 100644 --- a/cara/apps/calculator/static/css/report.css +++ b/cara/apps/calculator/static/css/report.css @@ -77,7 +77,7 @@ p.notes { .warning_text { height:fit-content; - align-self: flex-end; + align-self: center; margin-left: 5% } diff --git a/cara/apps/calculator/themes/cern/templates/calculator.report.html.j2 b/cara/apps/calculator/themes/cern/templates/calculator.report.html.j2 index efdd43a8..4a5689d3 100644 --- a/cara/apps/calculator/themes/cern/templates/calculator.report.html.j2 +++ b/cara/apps/calculator/themes/cern/templates/calculator.report.html.j2 @@ -27,7 +27,7 @@ {{ super() }} {% if (prob_inf > 5) %} -
+
{% if scale_warning.level == "Green - 1" %}