fix(pdf): dynamic mark scaling #165
@ -23,6 +23,10 @@
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
font-family: Arial;
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
|
||||
&.nonEditable {
|
||||
cursor: default;
|
||||
visibility: hidden;
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { CurrentUserMark } from '../../types/mark.ts'
|
||||
import styles from '../DrawPDFFields/style.module.scss'
|
||||
import { inPx } from '../../utils/pdf.ts'
|
||||
import { FONT_TYPE, inPx } from '../../utils/pdf.ts'
|
||||
|
||||
interface PdfMarkItemProps {
|
||||
userMark: CurrentUserMark
|
||||
@ -31,7 +31,8 @@ const PdfMarkItem = ({
|
||||
left: inPx(location.left),
|
||||
top: inPx(location.top),
|
||||
width: inPx(location.width),
|
||||
height: inPx(location.height)
|
||||
height: inPx(location.height),
|
||||
fontFamily: FONT_TYPE
|
||||
}}
|
||||
>
|
||||
{getMarkValue()}
|
||||
|
Loading…
Reference in New Issue
Block a user