Commit 58bb0a33 authored by bluejfox's avatar bluejfox Committed by hetech

ButtonGroup: fix Dropdown style in ButtonGroup(#12815) (#12819)

* [Button]Support Dropdown in ButtonGroup(#12815)

* [Button]Support Dropdown in ButtonGroup(#12815)

* [Button]Support Dropdown in ButtonGroup(#12815)
parent 44a85b8e
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
& .el-button { & > .el-button {
float: left; float: left;
position: relative; position: relative;
& + .el-button { & + .el-button {
...@@ -232,6 +232,14 @@ ...@@ -232,6 +232,14 @@
z-index: 1; 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) { @each $type in (primary, success, warning, danger, info) {
.el-button--#{$type} { .el-button--#{$type} {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment