Height in table when I create a report as PDF

When I generate a PDF report, the height of the table appears very high and there is a blank space, I would like to know if there is a way to adjust the table to the data, and not have space left over

in the dashboard its ok but when I get it as pdf I had this problem