mirror of https://github.com/ElemeFE/element
Button: fix style of single round/circle button in a group (#11605)
parent
c1b580583a
commit
671c42c610
|
@ -206,6 +206,14 @@
|
||||||
border-bottom-right-radius: $--button-border-radius;
|
border-bottom-right-radius: $--button-border-radius;
|
||||||
border-top-left-radius: $--button-border-radius;
|
border-top-left-radius: $--button-border-radius;
|
||||||
border-bottom-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) {
|
&:not(:first-child):not(:last-child) {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
|
Loading…
Reference in New Issue