refactor(ui): new page header component and page size foundation (#1966)
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
(keyup)="onResizeKeyup($event)"
|
||||
></div>
|
||||
</nav>
|
||||
<main class="layout-main">
|
||||
<main cdkScrollable class="layout-main">
|
||||
<router-outlet></router-outlet>
|
||||
</main>
|
||||
<button type="button" class="layout-mask" [attr.aria-label]="t('closeNavigation')" (click)="closeMobileSidebar()"></button>
|
||||
|
||||
@@ -4,6 +4,7 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
import { NavigationEnd, Router, RouterOutlet } from '@angular/router';
|
||||
import { filter } from 'rxjs';
|
||||
import { CdkTrapFocus } from '@angular/cdk/a11y';
|
||||
import { CdkScrollable } from '@angular/cdk/scrolling';
|
||||
import { LayoutService, SIDEBAR_MAX_WIDTH, SIDEBAR_MIN_WIDTH } from '../layout.service';
|
||||
import { AppSidebarComponent } from '../layout-sidebar/app.sidebar.component';
|
||||
import { AppMobileTopbarComponent } from '../layout-mobile-topbar/app.mobile-topbar.component';
|
||||
@@ -20,6 +21,7 @@ const SIDEBAR_KEYBOARD_PAGE_STEP = 48;
|
||||
AppSidebarComponent,
|
||||
AppMobileTopbarComponent,
|
||||
CdkTrapFocus,
|
||||
CdkScrollable,
|
||||
NgClass,
|
||||
TranslocoDirective
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user