Skip to content

Commit

Permalink
fix(module:card): fix avatar and detail alignment (#1255)
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk authored and vthinkxie committed Apr 4, 2018
1 parent ba3a323 commit 6b13ce0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/card/nz-card-meta.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import {
selector : '[nz-card-meta]',
preserveWhitespaces: false,
template : `
<div class="ant-card-meta-detail">
<div class="ant-card-meta-avatar" *ngIf="nzAvatar">
<ng-template [ngTemplateOutlet]="nzAvatar"></ng-template>
</div>
<div class="ant-card-meta-avatar" *ngIf="nzAvatar">
<ng-template [ngTemplateOutlet]="nzAvatar"></ng-template>
</div>
<div class="ant-card-meta-detail" *ngIf="nzTitle || nzDescription">
<div class="ant-card-meta-title" *ngIf="nzTitle">
<ng-container *ngIf="isTitleString; else titleTemplate">{{ nzTitle }}</ng-container>
<ng-template #titleTemplate>
Expand Down

0 comments on commit 6b13ce0

Please sign in to comment.