Skip to content
Merged
10 changes: 9 additions & 1 deletion packages/theme-chalk/src/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
display: inline-block;
vertical-align: middle;

& .el-button {
& > .el-button {
float: left;
position: relative;
& + .el-button {
Expand Down Expand Up @@ -232,6 +232,14 @@
z-index: 1;
}
}

& > .el-dropdown {
& > .el-button {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-left-color: rgba($--color-white, 0.5);
}
}

@each $type in (primary, success, warning, danger, info) {
.el-button--#{$type} {
Expand Down