Skip to content

Commit

Permalink
fix(Circle): fix circle style issue. #161 #142
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 29, 2024
1 parent 47157cd commit 5148da3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/color-circle/src/Point.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ export default function Point({ style, className, title, checked, color, onClick
title={title}
className={className}
style={{
padding: 3,
marginRight: 12,
marginBottom: 12,
...style,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
width: 28,
height: 28,
padding: 3,
borderRadius: '50%',
marginRight: 12,
marginBottom: 12,
boxSizing: 'border-box',
transform: 'scale(1)',
boxShadow: `${color} 0px 0px ${checked ? 5 : 0}px`,
transition: 'transform 100ms ease 0s, box-shadow 100ms ease 0s',
...style,
}}
>
<div {...rectProps} style={styleWrapper} />
Expand Down

0 comments on commit 5148da3

Please sign in to comment.