Sugarcube - Responsive Dialog

Twine 2.3.3
Sugarcube 2.28.2

I’d like the popup created by the Dialog API to be responsive to browser/screen size (ie to shrink - along with everything in it - when in a smaller window) but nothing I do seems to make a difference.

I assume I would have to change the CSS that exists in ui-dialog.css and I’ve played around with it, but my CSS skills are obviously not strong enough and nothing seems to make it do what I want it to do.

Any help would be appreciated.

It should already shrink to fit the width of the screen. It works for me, but I’m using SugarCube v2.30.0.

I don’t expect it to make a difference, but you might want to update to Twine v2.3.5/SugarCube v2.30.0 to see if that changes anything.

If it doesn’t, exactly what problem are you seeing? If you could post a simple example demonstrating the problem, it might help.