From 48fbd45c7b5b129e8ae9003c3bb504b848b0ed14 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sun, 11 May 2025 12:41:13 +0300 Subject: [PATCH] Add Bootstrap .d-none class to print styles to hide svg defs --- app/assets/stylesheets/print.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/stylesheets/print.scss b/app/assets/stylesheets/print.scss index 35700fc5f..cad3ea8c8 100644 --- a/app/assets/stylesheets/print.scss +++ b/app/assets/stylesheets/print.scss @@ -52,6 +52,7 @@ header, /* Rules for attribution text under the main map shown on printouts */ #attribution { + display: block; page-break-inside: avoid; height: 40px; font-size: 12px; @@ -64,3 +65,9 @@ header, .attribution_notice { text-align: center; } + +/* Bootstrap classes */ + +.d-none { + display: none; +} -- 2.39.5