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 Ricbet committed Apr 9, 2020
1 parent 67e498e commit a5562ed
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 a5562ed

Please sign in to comment.