element ui 修改表格表头高度和单元格高度

style标签添加

 

.el-table__header-wrapper{

  padding:0 !important;
  line-height: 50px !important;
}

.el-table__row .cell{

  padding:0 !important;
  line-height: 50px !important;
}

posted @ 2021-10-14 21:31  谎渊  阅读(173)  评论(0)    收藏  举报