Button: fix style of single round/circle button in a group (#11605)

pull/11614/head
杨奕 2018-06-13 13:46:34 +08:00 committed by GitHub
parent c1b580583a
commit 671c42c610
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -206,6 +206,14 @@
border-bottom-right-radius: $--button-border-radius;
border-top-left-radius: $--button-border-radius;
border-bottom-left-radius: $--button-border-radius;
&.is-round {
border-radius: 20px;
}
&.is-circle {
border-radius: 50%;
}
}
&:not(:first-child):not(:last-child) {
border-radius: 0;