From a3967b3c17103f9cada5d4c1c751eb05170a9e3c Mon Sep 17 00:00:00 2001 From: nobohan Date: Thu, 30 Sep 2021 12:16:14 +0200 Subject: [PATCH] dashboard: print --- patches/frontend/src/custom/custom.css | 7 +++++++ patches/frontend/src/custom/footer/footer.css | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/patches/frontend/src/custom/custom.css b/patches/frontend/src/custom/custom.css index 288b043..c753111 100644 --- a/patches/frontend/src/custom/custom.css +++ b/patches/frontend/src/custom/custom.css @@ -19,4 +19,11 @@ --modal-header-bg-moz: 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%); +} + +/* for printing the dashboard */ +@media print { + div.leaflet-control-container { + display: none!important; + } } \ No newline at end of file diff --git a/patches/frontend/src/custom/footer/footer.css b/patches/frontend/src/custom/footer/footer.css index e5673dc..98f61a9 100644 --- a/patches/frontend/src/custom/footer/footer.css +++ b/patches/frontend/src/custom/footer/footer.css @@ -40,4 +40,9 @@ footer div.logo img { footer div.logo img { height: 60px; } +} +@media print { + footer > div:first-child { + display: none!important; + } } \ No newline at end of file