fix(pdf): font style consistency

This commit is contained in:
enes 2024-08-23 11:06:25 +02:00
parent 2f54184625
commit 31f36750cd
2 changed files with 7 additions and 2 deletions

View File

@ -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;

View File

@ -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()}