diff --git a/cara/apps/calculator/static/css/report.css b/cara/apps/calculator/static/css/report.css index c9b2b3ab..52aeb1ea 100644 --- a/cara/apps/calculator/static/css/report.css +++ b/cara/apps/calculator/static/css/report.css @@ -136,11 +136,9 @@ p.notes { .card { page-break-inside: avoid; } - /* CSS styling to avoid page breaks. */ - .break-after { - page-break-after: always; - } - .break-avoid { + #disclaimer { + border: 2px solid black; + padding: 15px; page-break-inside: avoid; } } @@ -154,7 +152,8 @@ p.notes { position: relative; text-align: center; border-radius: 100px; - z-index: 1 + z-index: 1; + -webkit-print-color-adjust: exact!important; } .intro-banner-vdo-play-btn i { 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 b4e68870..2e95eca5 100644 --- a/cara/apps/calculator/themes/cern/templates/calculator.report.html.j2 +++ b/cara/apps/calculator/themes/cern/templates/calculator.report.html.j2 @@ -147,7 +147,6 @@ -
{% endblock report_preamble %} {% block report_footer %} diff --git a/cara/apps/templates/about.html.j2 b/cara/apps/templates/about.html.j2 index f8fead82..a78c7e68 100644 --- a/cara/apps/templates/about.html.j2 +++ b/cara/apps/templates/about.html.j2 @@ -41,7 +41,6 @@ Although the user is able to calculate the infection probability of a stand-alon