mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-01 19:48:38 +08:00
fix: buttongroup style bug
This commit is contained in:
parent
0b249a0baa
commit
38b18d3d2e
@ -271,6 +271,12 @@
|
||||
> span:first-child > .@{btnClassName} {
|
||||
margin-left: 0;
|
||||
}
|
||||
> .@{btnClassName}:first-child:last-child {
|
||||
border-radius: @btn-border-radius-base;
|
||||
}
|
||||
> span:first-child:last-child > .@{btnClassName} {
|
||||
border-radius: @btn-border-radius-base;
|
||||
}
|
||||
|
||||
> .@{btnClassName}:first-child:not(:last-child),
|
||||
> span:first-child:not(:last-child) > .@{btnClassName} {
|
||||
@ -285,6 +291,12 @@
|
||||
}
|
||||
|
||||
&-sm {
|
||||
> .@{btnClassName}:first-child:last-child {
|
||||
border-radius: @btn-border-radius-sm;
|
||||
}
|
||||
> span:first-child:last-child > .@{btnClassName} {
|
||||
border-radius: @btn-border-radius-sm;
|
||||
}
|
||||
> .@{btnClassName}:first-child:not(:last-child),
|
||||
> span:first-child:not(:last-child) > .@{btnClassName} {
|
||||
border-bottom-left-radius: @btn-border-radius-sm;
|
||||
|
Loading…
Reference in New Issue
Block a user