diff --git a/src/components/MarkInputs/Signature.module.scss b/src/components/MarkInputs/Signature.module.scss index fe8deec..fb49bab 100644 --- a/src/components/MarkInputs/Signature.module.scss +++ b/src/components/MarkInputs/Signature.module.scss @@ -11,10 +11,10 @@ $padding: 5px; .relative { position: relative; + outline: 1px solid black; } .canvas { - outline: 1px solid black; background-color: $body-background-color; cursor: crosshair; diff --git a/src/components/MarkInputs/Signature.tsx b/src/components/MarkInputs/Signature.tsx index 641a3ab..ed0ebff 100644 --- a/src/components/MarkInputs/Signature.tsx +++ b/src/components/MarkInputs/Signature.tsx @@ -7,7 +7,7 @@ import styles from './Signature.module.scss' import { MarkRenderSignature } from '../MarkRender/Signature' import SignaturePad from 'signature_pad' import { Config, optimize } from 'svgo' -import { SIGNATURE_PAD_OPTIONS } from '../../utils/const' +import { SIGNATURE_PAD_OPTIONS, SIGNATURE_PAD_SIZE } from '../../utils/const' export const MarkInputSignature = ({ value, @@ -58,10 +58,16 @@ export const MarkInputSignature = ({ return ( <>