Commit 189cd83e6c3742152c7eda947e3fe4cb7a519da8
1 parent
b49b5da579
Exists in
develop
Fix
Auto scroll sinonimos
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/app/shared/sinonimo/sinonimo.component.ts
| ... | ... | @@ -77,7 +77,7 @@ export class SinonimoComponent implements OnInit { |
| 77 | 77 | |
| 78 | 78 | scrollTo(index: number) { |
| 79 | 79 | const el = document.getElementById(index.toString()); |
| 80 | - el.scrollIntoView({ behavior: 'smooth', block: 'center' }); | |
| 80 | + el.scrollIntoView({ behavior: 'smooth' }); | |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | } |