Container Not Expanding to Text

I’ve been in the process of converting my site from static pages to dynamic, and it’s going relatively well except that I’m having a bizarre problem that I haven’t been able to resolve, in part because it does exactly what I want it to in the Editor in preview but doesn’t when published, both in a browser and mobile.

Basically I have a slideshow inside a container box. Inside the slideshow there’s a text box, and in one slide a video. What I want to happen, and what it is doing while in preview, is for the container that’s holding the slideshow to expand based on the length of the content (text) that’s currently displayed in the slideshow. This works perfectly while in preview mode, both for browsers and mobile but when it’s published, the live site cuts it off based on whatever static size has been specified in the editor. I have no idea why. And my conversion process is kindof at a standstill until this is resolved. I’m pretty sure this is some kind of bug right?

Below you can see the behavior I’m describing. Any help is appreciated.