Skip to content

Commit

Permalink
fix(module:transfer): fix title dislocation when form-item layout (#1745
Browse files Browse the repository at this point in the history
)

close #1732
  • Loading branch information
cipchk authored and vthinkxie committed Jun 28, 2018
1 parent b7a831d commit 4005c7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/transfer/nz-transfer-list.component.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div class="ant-transfer-list-header">
<label nz-checkbox [ngModel]="stat.checkAll" (ngModelChange)="onHandleSelectAll($event)"
[nzIndeterminate]="stat.checkHalf">
<span class="ant-transfer-list-header-selected">
<span>{{ (stat.checkCount > 0 ? stat.checkCount + '/' : '') + stat.shownCount }} {{ dataSource.length > 1 ? itemsUnit : itemUnit }}</span>
<span *ngIf="titleText" class="ant-transfer-list-header-title">{{ titleText }}</span>
</span>
</label>
<span class="ant-transfer-list-header-selected">
<span>{{ (stat.checkCount > 0 ? stat.checkCount + '/' : '') + stat.shownCount }} {{ dataSource.length > 1 ? itemsUnit : itemUnit }}</span>
<span *ngIf="titleText" class="ant-transfer-list-header-title">{{ titleText }}</span>
</span>
</div>
<div class="{{showSearch ? 'ant-transfer-list-body ant-transfer-list-body-with-search' : 'ant-transfer-list-body'}}"
[ngClass]="{'ant-transfer__nodata': stat.shownCount === 0}">
Expand Down

0 comments on commit 4005c7c

Please sign in to comment.