bug of layout is fixed
This commit is contained in:
parent
b4fc93d607
commit
c65963b055
|
@ -1 +1,17 @@
|
|||
<router-outlet></router-outlet>
|
||||
<mat-tab-group>
|
||||
<mat-tab label="First">
|
||||
<ng-template matTabContent>
|
||||
Content 11
|
||||
</ng-template>
|
||||
</mat-tab>
|
||||
<mat-tab label="Second">
|
||||
<ng-template matTabContent>
|
||||
Content 21
|
||||
</ng-template>
|
||||
</mat-tab>
|
||||
<mat-tab label="Third">
|
||||
<ng-template matTabContent>
|
||||
Content 31
|
||||
</ng-template>
|
||||
</mat-tab>
|
||||
</mat-tab-group>
|
||||
|
|
|
@ -1,17 +1 @@
|
|||
<mat-tab-group>
|
||||
<mat-tab label="First">
|
||||
<ng-template matTabContent>
|
||||
Content 1
|
||||
</ng-template>
|
||||
</mat-tab>
|
||||
<mat-tab label="Second">
|
||||
<ng-template matTabContent>
|
||||
Content 2
|
||||
</ng-template>
|
||||
</mat-tab>
|
||||
<mat-tab label="Third">
|
||||
<ng-template matTabContent>
|
||||
Content 3
|
||||
</ng-template>
|
||||
</mat-tab>
|
||||
</mat-tab-group>
|
||||
<router-outlet></router-outlet>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
|
||||
import { RouterModule } from '@angular/router';
|
||||
|
||||
import { OddsCrawlerFrontendCommonModule } from '@odds-crawler/common';
|
||||
|
||||
import { DefaultLayoutComponent } from './component/default-layout.component';
|
||||
|
@ -10,7 +12,7 @@ export const COMPONENTS = [DefaultLayoutComponent, MainLayoutComponent];
|
|||
|
||||
@NgModule({
|
||||
declarations: [...COMPONENTS],
|
||||
imports: [CommonModule, OddsCrawlerFrontendCommonModule],
|
||||
imports: [CommonModule, RouterModule, OddsCrawlerFrontendCommonModule],
|
||||
exports: [...COMPONENTS]
|
||||
})
|
||||
export class OddsCrawlerFrontendLayoutModule {}
|
||||
|
|
Loading…
Reference in New Issue
Block a user