Spacing on line items are massive

0 Answers 66 Views
PdfViewer
Vaughn
Top achievements
Rank 1
Vaughn asked on 01 Jul 2022, 04:45 AM

Hey all, l was wondering how I would go about removing these huge gaps on my <li> upon export.  I'm placing dynamic values from state. I attached the before and after images.

 

<ol className="contract-details-one">
<li>
Event Date:
<strong className="field-highlight"> {eventDate}</strong>

</li>

</ol>

Doncho
Telerik team
commented on 05 Jul 2022, 08:35 AM

Hi Vaughn,

I am afraid that I was not able to replicate the described problem based on the provided information.

Could you please share the declaration of the RadPdfViewer along with all the relevant code-behind logic so we can try to reproduce the issue and assist you more accurately?

Vaughn
Top achievements
Rank 1
commented on 05 Jul 2022, 09:15 PM

No worries, I solved the problem by adding a CSS attribute to the export PDF settings and removing the <strong> attributes that were causing large spacing on export.
Doncho
Telerik team
commented on 06 Jul 2022, 07:24 AM

I am glad to hear that. Thank you for the feedback!

No answers yet. Maybe you can help?

Tags
PdfViewer
Asked by
Vaughn
Top achievements
Rank 1
Share this question
or