diff --git a/src/CircularProgressbarWithChildren.tsx b/src/CircularProgressbarWithChildren.tsx index baac582..7fc51fb 100644 --- a/src/CircularProgressbarWithChildren.tsx +++ b/src/CircularProgressbarWithChildren.tsx @@ -16,7 +16,7 @@ function CircularProgressbarWithChildren(props: CircularProgressbarWithChildrenP
{/* Has an extra div wrapper because otherwise, adding content after this progressbar is spaced weirdly. */} -
+
{/* Progressbar is not positioned absolutely, so that it can establish intrinsic size for props.children's content. */} @@ -31,7 +31,6 @@ function CircularProgressbarWithChildren(props: CircularProgressbarWithChildrenP position: 'absolute', width: '100%', height: '100%', - marginTop: '-100%', display: 'flex', flexDirection: 'column', justifyContent: 'center',