Skip to content

Commit 58bb0a3

Browse files
bluejfoxziyoung
authored andcommitted
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)
1 parent 44a85b8 commit 58bb0a3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/theme-chalk/src/button.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
display: inline-block;
187187
vertical-align: middle;
188188

189-
& .el-button {
189+
& > .el-button {
190190
float: left;
191191
position: relative;
192192
& + .el-button {
@@ -232,6 +232,14 @@
232232
z-index: 1;
233233
}
234234
}
235+
236+
& > .el-dropdown {
237+
& > .el-button {
238+
border-top-left-radius: 0;
239+
border-bottom-left-radius: 0;
240+
border-left-color: rgba($--color-white, 0.5);
241+
}
242+
}
235243

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

0 commit comments

Comments
 (0)