mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
fix btn-group mixin bug
This commit is contained in:
parent
3faa1535db
commit
469231c5e7
@ -253,15 +253,15 @@
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
> & {
|
||||
& > & {
|
||||
float: left;
|
||||
}
|
||||
|
||||
> &:not(:first-child):not(:last-child) > .@{btnClassName} {
|
||||
& > &:not(:first-child):not(:last-child) > .@{btnClassName} {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
> &:first-child:not(:last-child) {
|
||||
& > &:first-child:not(:last-child) {
|
||||
> .@{btnClassName}:last-child {
|
||||
border-bottom-right-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
@ -269,7 +269,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
> &:last-child:not(:first-child) > .@{btnClassName}:first-child {
|
||||
& > &:last-child:not(:first-child) > .@{btnClassName}:first-child {
|
||||
border-bottom-left-radius: 0;
|
||||
border-top-left-radius: 0;
|
||||
padding-left: 8px;
|
||||
|
Loading…
Reference in New Issue
Block a user