diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index e426e65..e7e8dc7 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -186,5 +186,9 @@ export default defineComponent({ box-sizing: border-box; width: 100%; } + + @media print { + display: none; + } } \ No newline at end of file diff --git a/src/scss/leaflet/_controls.scss b/src/scss/leaflet/_controls.scss index 08dc909..4545334 100644 --- a/src/scss/leaflet/_controls.scss +++ b/src/scss/leaflet/_controls.scss @@ -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 { diff --git a/src/scss/leaflet/_popups.scss b/src/scss/leaflet/_popups.scss index bc55da3..449c078 100644 --- a/src/scss/leaflet/_popups.scss +++ b/src/scss/leaflet/_popups.scss @@ -36,5 +36,9 @@ flex-direction: column; } } + + @media print { + display: none; + } } diff --git a/src/scss/style.scss b/src/scss/style.scss index b623979..ae69e0f 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -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; + } } \ No newline at end of file