From 413da78c5c06b5b35740692f6b7c00125a7c8969 Mon Sep 17 00:00:00 2001 From: enes Date: Fri, 29 Nov 2024 11:15:10 +0100 Subject: [PATCH] fix(mark): css position --- src/components/DrawPDFFields/style.module.scss | 16 ++++++++++++---- src/components/PDFView/PdfMarkItem.tsx | 2 +- src/pages/verify/style.module.scss | 4 ---- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/components/DrawPDFFields/style.module.scss b/src/components/DrawPDFFields/style.module.scss index 0a89fbf..7ae0de3 100644 --- a/src/components/DrawPDFFields/style.module.scss +++ b/src/components/DrawPDFFields/style.module.scss @@ -38,10 +38,6 @@ visibility: hidden; } - &.edited { - outline: 1px dotted #01aaad; - } - .resizeHandle { position: absolute; right: -5px; @@ -99,3 +95,15 @@ height: 21px; } } + +.signingRectangle { + position: absolute; + outline: 1px solid #01aaad; + z-index: 40; + background-color: #01aaad4b; + cursor: pointer; + + &.edited { + outline: 1px dotted #01aaad; + } +} diff --git a/src/components/PDFView/PdfMarkItem.tsx b/src/components/PDFView/PdfMarkItem.tsx index 0eaa49d..a1dddb3 100644 --- a/src/components/PDFView/PdfMarkItem.tsx +++ b/src/components/PDFView/PdfMarkItem.tsx @@ -32,7 +32,7 @@ const PdfMarkItem = forwardRef(