diff --git a/src/COVID-19-Report-ITA.Web/resizer.ts b/src/COVID-19-Report-ITA.Web/resizer.ts index aacaecc..bcc6ec5 100644 --- a/src/COVID-19-Report-ITA.Web/resizer.ts +++ b/src/COVID-19-Report-ITA.Web/resizer.ts @@ -1,8 +1,8 @@ function resize(target: Element, observedObj: Element): void { const resizeObsrv: ResizeObserver = new ResizeObserver((entries: ResizeObserverEntry[]) => { entries.forEach(element => { - (target as HTMLElement).style.width = `${element.contentRect.width * .975}px`; - (target as HTMLElement).style.height= `${element.contentRect.height * .9}px`; + (target as HTMLElement).style.width = `${element.contentRect.width * .98}px`; + (target as HTMLElement).style.height= `${element.contentRect.height * .925}px`; }); })