修改ng-zorro中table對齊及寬度等細節

在angular項目裏使用antd組件庫的table組件 一、改變對齊方式web ::ng-deep th, td { text-align: center; } 二、修改寬度 代碼:antd <th [nzWidth]="'10%'">年份</th> <th [nzWidth]="'10%'">ccc</th>
相關文章
相關標籤/搜索