[bugfix] Sku: incorrect button border radius (#3966)

This commit is contained in:
neverland 2019-07-25 19:10:04 +08:00 committed by GitHub
parent 3c2270a5ad
commit d3178c85d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -29,7 +29,6 @@ function SkuActions(
<div class={bem()} {...inherit(ctx)}>
{props.showAddCartBtn && (
<Button
square
size="large"
type="warning"
text={props.addCartText || '加入购物车'}
@ -37,7 +36,6 @@ function SkuActions(
/>
)}
<Button
square
size="large"
type="danger"
text={props.buyText || '立即购买'}

View File

@ -322,13 +322,16 @@
font-size: @font-size-md;
line-height: 34px;
border: none;
border-radius: 0;
&:first-of-type {
border-radius: 18px 0 0 18px;
border-top-left-radius: 18px;
border-bottom-left-radius: 18px;
}
&:last-of-type {
border-radius: 0 18px 18px 0;
border-top-right-radius: 18px;
border-bottom-right-radius: 18px;
}
&--warning {