diff --git a/ui-parts/button/src/shape/shape.styles.ts b/ui-parts/button/src/shape/shape.styles.ts index 8a1509ad6..38827c7ef 100644 --- a/ui-parts/button/src/shape/shape.styles.ts +++ b/ui-parts/button/src/shape/shape.styles.ts @@ -66,8 +66,8 @@ export const createShapeStyles = ({ combine( createBaseShapeStyles(size, fontSize, fontWeight, fontFamily), createPaddingStyles( - paddingLeft || Number(size) * paddingRatio, - paddingRight || Number(size) * paddingRatio + paddingLeft ?? Number(size) * paddingRatio, + paddingRight ?? Number(size) * paddingRatio ), createRoundingStyles(rounding), createFillStyles(),