From 0a384a91966d8f76ec16d4f444ee06cd804d1e47 Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Sun, 1 Nov 2020 15:34:01 +0100 Subject: [PATCH] Fix zoomto padding --- .../components/aol/zoom-to-extent/zoom-to-extent.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/common-map/src/fm-map/components/aol/zoom-to-extent/zoom-to-extent.component.ts b/projects/common-map/src/fm-map/components/aol/zoom-to-extent/zoom-to-extent.component.ts index 83d4990..f75ce0d 100644 --- a/projects/common-map/src/fm-map/components/aol/zoom-to-extent/zoom-to-extent.component.ts +++ b/projects/common-map/src/fm-map/components/aol/zoom-to-extent/zoom-to-extent.component.ts @@ -28,7 +28,7 @@ export class ZoomToExtentComponent implements OnChanges { var bottom = Math.round(size[1] / 2); var top = 1 * rem; if (size[0] > threshold) { - bottom = 1 * rem; + bottom = 3 * rem; left = 23 * rem; } options.padding = [top, right, bottom, left];