修改ng-zorro中table对齐及宽度等细节

在angular项目里使用antd组件库的table组件 一、改变对齐方式web ::ng-deep th, td { text-align: center; } 二、修改宽度 代码:antd <th [nzWidth]="'10%'">年份</th> <th [nzWidth]="'10%'">ccc</th>
相关文章
相关标签/搜索