From 6f8921e9dea4a7958e114ec90eb737f252ae9e05 Mon Sep 17 00:00:00 2001 From: ameliebernier <45005853+ameliebernier@users.noreply.github.com> Date: Thu, 6 Dec 2018 15:39:00 -0500 Subject: [PATCH] fix(print): Print options fix Issue #189 (#238) * Issue #189 Print options fix * Issue #189 Removed alert * Issue #189 Ajusted margins * Removed '!important' and unused modules --- package.json | 2 +- .../print-form/print-form.component.html | 38 ++++++++++--------- .../print-form/print-form.component.scss | 19 ++++------ projects/geo/src/lib/print/print.module.ts | 6 +-- .../geo/src/lib/print/shared/print.service.ts | 17 +++++---- projects/geo/src/locale/en.geo.json | 1 + projects/geo/src/locale/fr.geo.json | 1 + 7 files changed, 44 insertions(+), 40 deletions(-) diff --git a/package.json b/package.json index 89ec75b87d..f8882cf205 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "file-saver": "^1.3.8", "hammerjs": "^2.0.8", "html2canvas": "^1.0.0-alpha.12", - "jspdf": "^1.3.5", + "jspdf": "^1.4.1", "jszip": "^3.1.5", "jwt-decode": "^2.2.0", "moment": "^2.22.2", diff --git a/projects/geo/src/lib/print/print-form/print-form.component.html b/projects/geo/src/lib/print/print-form/print-form.component.html index 5a903683c2..c1427f7554 100644 --- a/projects/geo/src/lib/print/print-form/print-form.component.html +++ b/projects/geo/src/lib/print/print-form/print-form.component.html @@ -19,18 +19,18 @@
- - {{'igo.geo.printForm.showProjection' | translate}} - - - {{'igo.geo.printForm.showScale' | translate}} - - - {{'igo.geo.printForm.showLegend' | translate}} - - - {{'igo.geo.printForm.doZipFile' | translate}} - + + {{'igo.geo.printForm.showProjection' | translate}} + + + {{'igo.geo.printForm.showScale' | translate}} + + + {{'igo.geo.printForm.showLegend' | translate}} + + + {{'igo.geo.printForm.doZipFile' | translate}} +
@@ -82,11 +82,15 @@
- - - {{('igo.geo.printForm.' + orientation.value) | translate}} - - + + + + {{('igo.geo.printForm.' + orientation.value) | translate}} + + +