Hi , there.
Recently i tried to use Kendo for React to create PDF document. But i faced with one issue, i cannot change font size of text.
No matter what properties i use, and what tags i am using it's always same size, even for <h1>
The wierdest thing that everything else working fine colors, margin, font colors, etc.
This is the example of code which i am using.
.title {
font-size: 30pt !important;
color: green;
font-weight: bold;
}
return (
<div>
<PDFExport
ref={pdfExportComponent}
paperSize="A4"
fileName='Dossiers Export'
>
<div style={{height: '2%', width: '100%', background:'#e6ecf0'}}>
<p className = 'title'>styled</p>
</div>
</PDFExport>
</div>
);
})
Does anyone else faced with this issue. ?