Skip to content

Commit

Permalink
refactor(layout): reformat header component template
Browse files Browse the repository at this point in the history
- Adjusted template indentation for better readability
- Removed unnecessary line breaks
  • Loading branch information
vnobo committed Dec 3, 2024
1 parent b9114db commit 1225b02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ng-ui/src/app/layout/basic/widgets/header.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { SharedModule } from '@app/shared/shared.module';
import { NzPageHeaderModule } from 'ng-zorro-antd/page-header';

@Component({
selector: 'page-content-header,[pageContentHeader]',
imports: [NzPageHeaderModule, SharedModule],
template: ` <div class="sticky-top">
selector: 'page-content-header,[pageContentHeader]',
imports: [NzPageHeaderModule, SharedModule],
template: ` <div class="sticky-top">
<nz-page-header [nzGhost]="false" nzBackIcon>
<nz-breadcrumb [nzAutoGenerate]="true" [nzRouteLabel]="'title'" nz-page-header-breadcrumb></nz-breadcrumb>
<nz-page-header-title>
Expand All @@ -25,7 +25,7 @@ import { NzPageHeaderModule } from 'ng-zorro-antd/page-header';
<ng-content select="[pageHeaderContent]"></ng-content>
</nz-page-header-content>
</nz-page-header>
</div>`
</div>`,
})
export class PageHeaderComponent implements OnInit {
constructor() {}
Expand Down

0 comments on commit 1225b02

Please sign in to comment.