dashboard: print

This commit is contained in:
nobohan 2021-09-30 12:16:14 +02:00
parent b28af2d1e6
commit a3967b3c17
2 changed files with 12 additions and 0 deletions

View File

@ -20,3 +20,10 @@
--modal-header-bg-webkit: moz-linear-gradient(top, var(--secondary) 0%, var(--secondary) 50%, var(--secondary-gradient) 51%, var(--secondary-gradient) 100%); --modal-header-bg-webkit: moz-linear-gradient(top, var(--secondary) 0%, var(--secondary) 50%, var(--secondary-gradient) 51%, var(--secondary-gradient) 100%);
--modal-header-bg-linear: linear-gradient(to bottom, var(--secondary) 0%, var(--secondary) 50%, var(--secondary-gradient) 51%, var(--secondary-gradient) 100%); --modal-header-bg-linear: linear-gradient(to bottom, var(--secondary) 0%, var(--secondary) 50%, var(--secondary-gradient) 51%, var(--secondary-gradient) 100%);
} }
/* for printing the dashboard */
@media print {
div.leaflet-control-container {
display: none!important;
}
}

View File

@ -41,3 +41,8 @@ footer div.logo img {
height: 60px; height: 60px;
} }
} }
@media print {
footer > div:first-child {
display: none!important;
}
}