Hi,
I'm working with grid template and align-items for a patch.
All is perfect on computer, but when opening the patch on pad the XY pad is not displaying correctly
In the css property I used for the panel :
Unfortunately iPhone/iPads have their own css bugs, the built-in layout configurations should work fine but I can't guarantee every custom css combination will. I'm afraid you'll have to tweak the css yourself to make it work eventually.
It seems aspect-ratio is not supported on iOS < 15, this may be the problem here.
Here is your session with flex layouts instead of grids. I find it much easier to work with :). (edit: well, the height/ratio of the xy pad still need some tinkering)
Centering an object with a variable size and a fixed aspect ratio using css is not a trivial task, I think the simplest solution would be to use @media rules to define fixed widths and heights instead of looking for a single rule that fits any screen size.