Hide UI and force landscape when printing

This commit is contained in:
James Lyne 2021-01-07 13:49:00 +00:00
parent 1615c3d902
commit 823e9b4c99
4 changed files with 26 additions and 0 deletions

View File

@ -186,5 +186,9 @@ export default defineComponent({
box-sizing: border-box;
width: 100%;
}
@media print {
display: none;
}
}
</style>

View File

@ -25,6 +25,10 @@
a, button {
@extend %button;
}
@media print {
display: none !important;
}
}
.leaflet-bar {
@ -51,6 +55,10 @@
border-bottom-color: $global-border-color;
}
}
@media print {
display: none !important;
}
}
.leaflet-touch {

View File

@ -36,5 +36,9 @@
flex-direction: column;
}
}
@media print {
display: none;
}
}

View File

@ -333,6 +333,10 @@ button {
transition: none;
}
}
@media print {
display: none !important;
}
}
/*******************
@ -541,4 +545,10 @@ div.statusmessage {
.leaflet-players-pane {
z-index: 600;
}
@media print {
@page {
size: 297mm 210mm;
}
}