.el-button + .el-button
概念
- element-ui里面的按钮的永远的下一个按钮
实现样式
实例
.el-table td.el-table__cell div .el-button {
padding: 0 10px;
height: 12px;
line-height: 10px;
border-radius: 0;
&:nth-of-type(1){
padding-left: 0;
}
}
.el-table td.el-table__cell div .el-button + .el-button {
margin-left: 0;
height: 12px;
line-height: 10px;
border-left: 1px solid #E4E7EC;
}