Skip to content

Commit 4587842

Browse files
committed
Fixed the Safari zoom issue
1 parent db8a48e commit 4587842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GradientCircleProgressbar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ const PercentageContainer = styled.div`
2020
text-align: center,`
2121

2222
const StyledCircle = styled.circle`
23-
transform: rotate(-90deg);
2423
transform-origin: 50% 50%;`
2524
// const CircleContainer = ({ children, style }) => <div className="react-super-progressbar__base" style={style}>{children}</div>
2625
// const PercentageContainer = ({ children }) => <div className="react-super-progressbar__percentage-container">{children}</div>
@@ -105,6 +104,7 @@ const GradientCircleProgressbar = ({
105104
strokeLinecap={strokeLinecap}
106105
strokeDasharray={`${circumference} ${circumference}`}
107106
strokeDashoffset={offset}
107+
transform="rotate(-90, 0, 0)"
108108
/>
109109
</svg>
110110
</CircleContainer>

0 commit comments

Comments
 (0)