Oh, I've only just recently started testing with the HTML element. Are you saying that when you scale the layout, the html element doesn't scale with it and therefore wraps because the content such as text is now larger? If so, I remember when I was messing around with it that you need to have the element on auto-size, and all units on em so it scales accordingly to the parent. I haven't used chartjs, but assuming I understood your problem correctly, you might need to override some of the styles to use em instead of px.