Skip to content

Commit

Permalink
fix(module:description): fix colspan calcuation in horizontal bordered (
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendell authored and simplejason committed Aug 26, 2019
1 parent 089a54d commit 345712f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/descriptions/nz-descriptions.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<td class="ant-descriptions-item-label"
*nzStringTemplateOutlet="item.title">{{ item.title }}</td>
<td class="ant-descriptions-item-content"
[colSpan]="isLast ? item.span * 2 - 1 : item.span">
[colSpan]="item.span * 2 - 1">
<ng-template [ngTemplateOutlet]="item.content"></ng-template>
</td>
</ng-container>
Expand Down

0 comments on commit 345712f

Please sign in to comment.