How to add offset to camera on differing devices?

For my game the player’s camera is positioned as so:

However, it looks like this on mobile:

I have no idea where to even began towards fixing this, I assume I’d have to change this based on the screen size? But how would I do that?