Skip to content

Commit 5148da3

Browse files
committed
fix(Circle): fix circle style issue. #161 #142
1 parent 47157cd commit 5148da3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/color-circle/src/Point.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,20 @@ export default function Point({ style, className, title, checked, color, onClick
3737
title={title}
3838
className={className}
3939
style={{
40+
padding: 3,
41+
marginRight: 12,
42+
marginBottom: 12,
43+
...style,
4044
display: 'flex',
4145
alignItems: 'center',
4246
justifyContent: 'center',
4347
width: 28,
4448
height: 28,
45-
padding: 3,
4649
borderRadius: '50%',
47-
marginRight: 12,
48-
marginBottom: 12,
4950
boxSizing: 'border-box',
5051
transform: 'scale(1)',
5152
boxShadow: `${color} 0px 0px ${checked ? 5 : 0}px`,
5253
transition: 'transform 100ms ease 0s, box-shadow 100ms ease 0s',
53-
...style,
5454
}}
5555
>
5656
<div {...rectProps} style={styleWrapper} />

0 commit comments

Comments
 (0)