There is a gray box around the tag cloud or shortcode output

Check your shortcode in the editor and make sure that it is formatted as “Paragraph”, not “Preformatted”.