From c2c6a0a3b0bb379fe01d95568226b370ca8b69a1 Mon Sep 17 00:00:00 2001 From: emre2038 Date: Mon, 12 Apr 2021 23:24:48 +0300 Subject: [PATCH 1/3] improving pdf output of facility modal From 4e5ca6f54d7cb98e05839c73ff065e84c1ee31f8 Mon Sep 17 00:00:00 2001 From: emre2038 Date: Tue, 13 Apr 2021 11:03:25 +0300 Subject: [PATCH 2/3] hiding panels on the print when the facility modal is visible --- src/css/wazimap-ng-v1.webflow.css | 4 ++ src/index.html | 74 +++++++++++++++---------------- 2 files changed, 41 insertions(+), 37 deletions(-) diff --git a/src/css/wazimap-ng-v1.webflow.css b/src/css/wazimap-ng-v1.webflow.css index 491fbc48d..8be3df32b 100755 --- a/src/css/wazimap-ng-v1.webflow.css +++ b/src/css/wazimap-ng-v1.webflow.css @@ -8533,5 +8533,9 @@ label { .facility-info[style*="display: none;"]{ display: none !important; } + + .facility-info[style*="display: flex;"] ~ .point-mapper, .facility-info[style*="display: flex;"] ~ .rich-data, .facility-info[style*="display: flex;"] ~ .data-mapper { + display: none !important; + } } diff --git a/src/index.html b/src/index.html index 984b8bb5c..554832145 100755 --- a/src/index.html +++ b/src/index.html @@ -516,6 +516,43 @@

Map boundary change

+
+
+

Loading...

+ +
+ + +
+
+
+
+ + +
+
+
+ +
+
+
+
Loading...
+
...
+
+
+
+
@@ -687,43 +724,6 @@

Map boundary change

-
-
-

Loading...

- -
- - -
-
-
-
- - -
-
-
- -
-
-
-
Loading...
-
...
-
-
-
-
From e340c8645a36bcd7986364cb78650bfab2b5d1f8 Mon Sep 17 00:00:00 2001 From: emre2038 Date: Sun, 16 May 2021 19:11:14 +0300 Subject: [PATCH 3/3] print css changes --- src/css/wazimap-ng-v1.webflow.css | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/css/wazimap-ng-v1.webflow.css b/src/css/wazimap-ng-v1.webflow.css index 8be3df32b..3cbb398ed 100755 --- a/src/css/wazimap-ng-v1.webflow.css +++ b/src/css/wazimap-ng-v1.webflow.css @@ -8514,16 +8514,17 @@ label { display: none !important; } - .facility-info{ - display: inline-table !important; - position: absolute; - width: 100%; - height: 100%; - top: 0; - left: 0; - background-color: #fff; - max-height: 100%; - max-width: 100%; + .facility-info { + position: fixed; + width: 100vw !important; + height: 100vh !important; + max-width: none; + max-height: none; + left: 0%; + right: 0%; + top: 0%; + Bottom: 0%; + z-index: 100000; } .facility-info__view-google-map, .facility-info__print, .facility-info__close{ @@ -8534,7 +8535,7 @@ label { display: none !important; } - .facility-info[style*="display: flex;"] ~ .point-mapper, .facility-info[style*="display: flex;"] ~ .rich-data, .facility-info[style*="display: flex;"] ~ .data-mapper { + .nav,.map,.rich-data,.panel-toggles,.data-mapper,.point-mapper,.tab-notice,.facility-info__close,.facility-info__print,.facility-info__view-google-map { display: none !important; } }