diff --git a/theatre/studio/src/utils/absoluteDims.tsx b/theatre/studio/src/utils/absoluteDims.tsx index 065b05d..a66ccc8 100644 --- a/theatre/studio/src/utils/absoluteDims.tsx +++ b/theatre/studio/src/utils/absoluteDims.tsx @@ -1,3 +1,4 @@ +/** Create CSS rule string for centered and give it this width and height */ export const absoluteDims = (w: number, h = w) => ` left: ${w * -0.5}px; top: ${h * -0.5}px;