如何以角度去除垫子桌子​​的行之间的线?

时间:2019-12-17 04:44:38

标签: angular mat-table

请在这里查看我的网站

http://35.232.230.0:81

这显示了角度应用中的垫子桌子。我想删除表格各行之间的白线。如何做到这一点?

谢谢。

2 个答案:

答案 0 :(得分:2)

mat-cell和mat-h​​eader-cell有边界。只需为这些元素设置边框即可。

.mat-cell, .mat-header-cell {
  border: none !important;
}

答案 1 :(得分:1)

   td.mat-cell {
        border-bottom-style: none;
      }

table-container{
      td.mat-cell {
        border-bottom-style: none;
      }
    }