From 189cd83e6c3742152c7eda947e3fe4cb7a519da8 Mon Sep 17 00:00:00 2001 From: Marcelo Puebla Date: Thu, 30 Jan 2020 11:16:17 -0300 Subject: [PATCH] Fix Auto scroll sinonimos --- src/app/shared/sinonimo/sinonimo.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/sinonimo/sinonimo.component.ts b/src/app/shared/sinonimo/sinonimo.component.ts index 5126de9..b6a5304 100644 --- a/src/app/shared/sinonimo/sinonimo.component.ts +++ b/src/app/shared/sinonimo/sinonimo.component.ts @@ -77,7 +77,7 @@ export class SinonimoComponent implements OnInit { scrollTo(index: number) { const el = document.getElementById(index.toString()); - el.scrollIntoView({ behavior: 'smooth', block: 'center' }); + el.scrollIntoView({ behavior: 'smooth' }); } } -- 1.9.1