Fixes for build report template

This commit is contained in:
Oliver Walters 2021-02-16 20:53:28 +11:00
parent 7d30e75bc6
commit 7071ef5a5c
2 changed files with 10 additions and 10 deletions

View File

@ -22,22 +22,19 @@ margin-top: 4cm;
vertical-align: middle;
}
.float-right {
float: right;
}
.part-image {
border: 1px solid;
border-radius: 2px;
vertical-align: middle;
height: 40mm;
width: 100%;
display: inline-block;
z-index: 100;
}
.details-image {
max-width: 25%;
float: right;
width: 30%;
}
.details {
@ -49,10 +46,9 @@ margin-top: 4cm;
}
.details table {
overflow-x: scroll
overflow-wrap: break-word;
word-wrap: break-word;
width: 70%;
width: 65%;
table-layout: fixed;
font-size: 75%;
}
@ -101,7 +97,7 @@ content: "www.currawong.aero";
{% block page_content %}
<div class='details'>
<div class='details-image float-right'>
<div class='details-image'>
<img class='part-image' src="{% part_image part %}">
</div>

View File

@ -4,8 +4,12 @@
<style>
@page {
{% block page_style %}
size: {% block page_size %}{{ default_page_size }}{% endblock %};
margin: {% block page_margin %}2cm{% endblock %};
{% block page_size %}
size: {{ default_page_size }};
{% endblock %}
{% block page_margin %}
margin: 2cm;
{% endblock %}
font-family: Arial, Helvetica, sans-serif;
font-size: 75%;
{% endblock %}