I have an R Shiny dashboard deployed to shinyapps.io which produces a URL of the following structure https://<account-name>.shinyapps.io/<application-name>/
.
My dashboard behaves as expected with regards to all code including referenced JavaScript and CSS files, when visited using this URL.
I have set up a custom domain with a neater URL which points to the longer shinyapps generated one.
Oddly, when navigating to the dashboard via this custom domain, my website’s style is affected. The scroll bar disappears completely. When checking the source code of both URLs (longer shinyapps generated and shorter custom domain), it seems that additional styling is imposed by the custom domain and overflow: hidden;
is added among other things.
**My question is: ** can a domain used to navigate to a website alter the style sheet of that website?
My two assumptions (so far) are:
- Something to do with dns propagation?
This custom domain was pointing at an older version of the dashboard which I made some packages changes on. Could there be some leftover conflicting styles applied that will sort themselves out?
- Is there some way of adding and removing style sheets from a domain itself on the Cloudflare side. Perhaps I can remove this?
Thanks!