Help... Content fit problem

I want to put my publishing project canvas in to my H5

content, and the size fit with red
content.
Please tell me how to do or where can I find the setting?
Thanks.