Formatting looks fine in viewer, but broken on shinyapps.io

See FAQ: FAQ: How to format your code

We need a reproducible example to help on this.

Check also how you deploy your shiny document, and the deploy log in case there is something odd with ressources