Mixing Page Orientations
Hi,
I'd like to know if you plan to support documents mixing portrait and landscape page orientations.
The preview is fine in the browser (Chrome) but everything is lost when I want to print the document (PDF).
<html>
<head>
<title>Mixing Page Orientations</title>
<style type="text/css">
@page {
size: A5 landscape;
margin: 30mm 25mm;
}
@page portrait {
size: A5 portrait;
margin: 25mm 30mm;
}
.portrait {
page: portrait;
}
@media screen {
.pagedjs_page {
box-shadow: 0 0 0 1px rgba(0, 0,0,0.2);
}
}
</style>
<script src="https://unpkg.com/pagedjs@0.1.30/dist/paged.legacy.polyfill.js"></script>
</head>
<body>
<section class="portrait">
<h1>Portrait</h1>
</section>
<section class="landscape">
<h1>Landscape</h1>
</section>
</body>
</html>