Commit ddab6012 authored by FuryBean's avatar FuryBean Committed by 杨奕

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

parent 94f18ab9
...@@ -188,6 +188,12 @@ ...@@ -188,6 +188,12 @@
border-top-left-radius: 0; border-top-left-radius: 0;
border-bottom-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) { &:not(:first-child):not(:last-child) {
border-radius: 0; border-radius: 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment