diff --git a/example/src/Overview/index.tsx b/example/src/Overview/index.tsx index c35eeb2a..b6250a69 100644 --- a/example/src/Overview/index.tsx +++ b/example/src/Overview/index.tsx @@ -192,7 +192,7 @@ const OverviewFlow = () => { > - + ); }; diff --git a/src/additional-components/Background/index.tsx b/src/additional-components/Background/index.tsx index 9e8661da..c5543e49 100644 --- a/src/additional-components/Background/index.tsx +++ b/src/additional-components/Background/index.tsx @@ -36,7 +36,7 @@ const Background: FC = ({ const isLines = variant === BackgroundVariant.Lines; const bgColor = color ? color : defaultColors[variant]; - const path = isLines ? createGridLinesPath(scaledGap, size, bgColor) : createGridDotsPath(size, bgColor); + const path = isLines ? createGridLinesPath(scaledGap, size, bgColor) : createGridDotsPath(size * scale, bgColor); return ( { - return ; + return ; }; export const createGridDotsPath = (size: number, fill: string): React.ReactElement => { - return ; + return ; };