current position:Home>Vue3 modify the style of El upload of element

Vue3 modify the style of El upload of element

2022-05-15 05:16:22A grain of rice

<style lang="scss" scoped>
.upload-demo ::v-deep .el-upload--picture-card{
    
  margin-top: 4%;
  height:80px;
  width:80px;
  line-height: 80px;
}
.upload-demo ::v-deep .el-upload-list--picture-card .el-upload-list__item{
    
  margin-top: 4%;
  height:80px;
  width:80px;
  line-height: 80px;
}
</style>

Need to use ::v-deep Talent
 Insert picture description here

copyright notice
author[A grain of rice],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/131/202205111246439211.html

Random recommended