[bugfix] Sku: incorrect button border radius (#3966)
This commit is contained in:
@@ -29,7 +29,6 @@ function SkuActions(
|
|||||||
<div class={bem()} {...inherit(ctx)}>
|
<div class={bem()} {...inherit(ctx)}>
|
||||||
{props.showAddCartBtn && (
|
{props.showAddCartBtn && (
|
||||||
<Button
|
<Button
|
||||||
square
|
|
||||||
size="large"
|
size="large"
|
||||||
type="warning"
|
type="warning"
|
||||||
text={props.addCartText || '加入购物车'}
|
text={props.addCartText || '加入购物车'}
|
||||||
@@ -37,7 +36,6 @@ function SkuActions(
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<Button
|
<Button
|
||||||
square
|
|
||||||
size="large"
|
size="large"
|
||||||
type="danger"
|
type="danger"
|
||||||
text={props.buyText || '立即购买'}
|
text={props.buyText || '立即购买'}
|
||||||
|
|||||||
+5
-2
@@ -322,13 +322,16 @@
|
|||||||
font-size: @font-size-md;
|
font-size: @font-size-md;
|
||||||
line-height: 34px;
|
line-height: 34px;
|
||||||
border: none;
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
|
||||||
&:first-of-type {
|
&:first-of-type {
|
||||||
border-radius: 18px 0 0 18px;
|
border-top-left-radius: 18px;
|
||||||
|
border-bottom-left-radius: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-of-type {
|
&:last-of-type {
|
||||||
border-radius: 0 18px 18px 0;
|
border-top-right-radius: 18px;
|
||||||
|
border-bottom-right-radius: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--warning {
|
&--warning {
|
||||||
|
|||||||
Reference in New Issue
Block a user