diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.spec.ts b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.spec.ts index 8a4ff577442c..fed12d9b5048 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.spec.ts @@ -246,7 +246,7 @@ describe('DotNavigationComponent', () => { }); it('should have scroll', () => { - expect(fixture.debugElement.styles.cssText).toEqual('overflow-y: scroll;'); + expect(fixture.debugElement.styles.cssText).toEqual('overflow-y: auto;'); }); }); }); diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.ts b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.ts index 10c3ed9ce223..21cb118a9294 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.ts +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.ts @@ -17,7 +17,7 @@ export class DotNavigationComponent implements OnInit { menu$: Observable; @HostBinding('style.overflow-y') get overFlow() { - return this.dotNavigationService.collapsed$.getValue() ? '' : 'scroll'; + return this.dotNavigationService.collapsed$.getValue() ? '' : 'auto'; } constructor(