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