Open RoyNidhi opened 3 months ago
I am using the HTML2PDF library, and on the click of the button, a pdf shows up to download. In that PDF, I'm getting extra space for some text only.
HTML:-
Vehicle Required: Bike
CSS:- .chip-item{ padding: 11px; font: 400 14px "GeneralSans-Regular", Arial, Sans-Serif; color: #23201c; background: #f8d834; border-radius: 20px; min-height: 36px; display: flex; }
Did u solve this?
Yeah, It's because of the font size. I've changed the font size to 16px and then it worked fine.
I am using the HTML2PDF library, and on the click of the button, a pdf shows up to download. In that PDF, I'm getting extra space for some text only.
HTML:-
Vehicle Required: Bike
CSS:- .chip-item{ padding: 11px; font: 400 14px "GeneralSans-Regular", Arial, Sans-Serif; color: #23201c; background: #f8d834; border-radius: 20px; min-height: 36px; display: flex; }