react+andt中局内调整默认样式

.name{
  :global{
    .ant-descriptions-item-label{
      width:85px;
    }
    .ant-descriptions-bordered .ant-descriptions-item-content{
      width:100px;
    }
    .ant-descriptions-bordered .ant-descriptions-item-content:last-child{
      width:auto;
    }
  }
}

  调用方式:

  文件名.name

  解析:

 .ant-descriptions-item-label ,需要再控制台中找到
 
posted @ 2021-05-27 10:51  就沈呗  阅读(198)  评论(0)    收藏  举报