Button: fix style of the only button in a button group (#9298)

pull/9310/head
FuryBean 2018-01-16 20:46:06 +08:00 committed by 杨奕
parent 94f18ab9a6
commit ddab60121a
1 changed files with 6 additions and 0 deletions

View File

@ -188,6 +188,12 @@
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
&:first-child:last-child {
border-top-right-radius: $--button-border-radius;
border-bottom-right-radius: $--button-border-radius;
border-top-left-radius: $--button-border-radius;
border-bottom-left-radius: $--button-border-radius;
}
&:not(:first-child):not(:last-child) {
border-radius: 0;
}