Skip to content

Commit 15e244c

Browse files
fix(module:table): remove empty space in custom columns (#8022)
1 parent de747f8 commit 15e244c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/table/src/cell/custom-column.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class NzCustomColumnDirective<T> implements OnInit, OnDestroy {
3333
if (!v?.fixWidth) {
3434
this.renderer.setStyle(this.el.nativeElement, 'flex', `1 1 ${v.width}px`);
3535
} else {
36-
this.renderer.setStyle(this.el.nativeElement, 'flex', `0 0 ${v.width}px`);
36+
this.renderer.setStyle(this.el.nativeElement, 'flex', `1 0 ${v.width}px`);
3737
}
3838
}
3939
});

0 commit comments

Comments
 (0)