Microsoft Word/Google Docs clone

I’m currently building a document editor on Bubble, similar to Microsoft Word or Google Docs. However, I’m having trouble creating responsive “paper sheets” that maintain the proportions of A4 paper. What are some techniques I could use to make this?

Hey, could you share the specifics of the issue you’re facing?

The issue I’m facing is related to creating “paper sheets” that are responsive while maintaining the proportions of A4 paper. Specifically, I’m having trouble figuring out how to ensure that the dimensions of the paper sheet remain in proportion when the user resizes the window or switches to a different device with a different screen size. Any advice or insights you can provide would be much appreciated!