How to increase dpi on html5

Hi there I have a dynamically sized canvas (is that the right term ?)
I use:
lime.embed(“mything”, “openfl-content”, 0, 0, { parameters: {} });
it looks fine on PC but bury on iOS safari.
I can get it to work by making it a static size but I want it to be dynamic.
Thanks