diff --git a/src/Components/SVG/Elements/Symbol.tsx b/src/Components/SVG/Elements/Symbol.tsx index c4552c7..dcdf707 100644 --- a/src/Components/SVG/Elements/Symbol.tsx +++ b/src/Components/SVG/Elements/Symbol.tsx @@ -1,7 +1,7 @@ import { Interweave } from 'interweave'; import * as React from 'react'; import { type ISymbolModel } from '../../../Interfaces/ISymbolModel'; -import { DIMENSION_MARGIN } from '../../../utils/default'; +import { SYMBOL_MARGIN } from '../../../utils/default'; interface ISymbolProps { model: ISymbolModel @@ -16,11 +16,11 @@ export function Symbol(props: ISymbolProps): JSX.Element { let x, y: number; if (props.model.isVertical) { - x = -DIMENSION_MARGIN; + x = -SYMBOL_MARGIN; y = props.model.offset; } else { x = props.model.offset; - y = -DIMENSION_MARGIN; + y = -SYMBOL_MARGIN; } if (hasSVG) {