Wrap the content and remove empty space.