Merge branch 'feature/printable_version' into 'master'

Fix printable version

Closes #201 and #202

See merge request cara/cara!272
This commit is contained in:
Andre Henriques 2021-10-18 09:16:42 +02:00
commit e1b72ef405
3 changed files with 6 additions and 8 deletions

View file

@ -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 {

View file

@ -390,7 +390,7 @@
{% block disclaimer_container %}
<br><br><br>
<div style="border: 2px solid black; padding: 15px;">
<div id="disclaimer">
{% block disclaimer %}
<p class="image"> <img align="middle" src="{{ calculator_prefix }}/static/images/disclaimer.jpg" width="40" height="40"><b>Disclaimer:</b><br><br></p>

View file

@ -145,7 +145,6 @@
</div>
</div>
</div>
<div class="break-avoid fourth_page"></div>
{% endblock report_preamble %}
{% block report_footer %}