Skip to content

Commit 15e244c

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)