To show the compact view, ensure there's no space at the top or bottom of emails by setting padding to 0px 10px 0px 10px.

Make sure to pick 0px followed by 10px and then 0px, 10px, ;.