How do I adjust the height of each category box?

I want to make them more compact