Skip to content
Snippets Groups Projects
Commit 55a137d3 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '311-provide-landscape-print-template' into 'master'

Resolve "Provide landscape print template"

Closes #311

See merge request !469
parents dc647698 fba54dec
No related branches found
No related tags found
1 merge request!469Resolve "Provide landscape print template"
Pipeline #5636 passed
@page {
size: A4 landscape;
}
header {
width: 277mm;
}
.print-layout-table, .print-layout-td {
width: 277mm;
max-width: 277mm;
min-width: 277mm;
}
footer {
width: 277mm;
}
......@@ -18,11 +18,13 @@
{% include_css "paper-css" %}
<link rel="stylesheet" href="{% sass_src 'style.scss' %}"/>
<link rel="stylesheet" href="{% static "print.css" %}"/>
{% if landscape %}
<link rel="stylesheet" href="{% static 'print_landscape.css' %}"/>
{% endif %}
{% block extra_head %}{% endblock %}
</head>
<body class="A4 print-body">
<body class="A4 {% if landscape %}landscape{% endif %} print-body">
<main class="sheet infinite">
<div style="margin-top: -10mm;"></div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment