My page is a flex container, and I want to place 3 boxes in the middle of the page as shown below. If I use margins it works, but if I zoom in, the page looks like crap. I want the "margin" to reduce as I zoom in. How can I do that?
I would be setting the flex container's justify to be centred. Don't use margins, use the style.gap css prop to set spacing between components
Although I'm not sure how the justify works with zoom.. If it doesn't work, try setting the margin or padding of the flex container to 0 auto. This will set the top/bottom to 0 and the left/right to resize equally based on the size of the components within the flex