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 f75ce0d..5be8b08 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 @@ -25,10 +25,10 @@ export class ZoomToExtentComponent implements OnChanges { let threshold = 40 * rem; var left = 1 * rem; var right = 1 * rem; - var bottom = Math.round(size[1] / 2); + var bottom = Math.round((size[1] / 2) + (4*rem)); var top = 1 * rem; if (size[0] > threshold) { - bottom = 3 * rem; + bottom = 5 * rem; left = 23 * rem; } options.padding = [top, right, bottom, left];