Skip to content

Commit

Permalink
fix(module:card): fix card style (#1194)
Browse files Browse the repository at this point in the history
close #1191
  • Loading branch information
vthinkxie authored Mar 22, 2018
1 parent 4ba77c2 commit ad80297
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions components/card/nz-card.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,7 @@ import { NzCardTabComponent } from './nz-card-tab.component';
<ng-template [ngTemplateOutlet]="nzExtra"></ng-template>
</ng-template>
<div class="ant-card-head" *ngIf="nzTitle||nzExtra||tab">
<ng-template [ngIf]="!tab">
<div class="ant-card-head-title" *ngIf="nzTitle">
<ng-container *ngIf="isTitleString; else titleTemplate">{{ nzTitle }}</ng-container>
</div>
<div class="ant-card-extra" *ngIf="nzExtra">
<ng-container *ngIf="isExtraString; else extraTemplate">{{ nzExtra }}</ng-container>
</div>
</ng-template>
<div class="ant-card-head-wrapper" *ngIf="tab">
<div class="ant-card-head-wrapper">
<div class="ant-card-head-title" *ngIf="nzTitle">
<ng-container *ngIf="isTitleString; else titleTemplate">{{ nzTitle }}</ng-container>
</div>
Expand Down

0 comments on commit ad80297

Please sign in to comment.