chain line with narrow-wide chain ring
Change into the middle gear in the cassette and check the chain is straight. Otherwise, you may need to remove a bottom bracket spacer (usually 2.5mm thick) from the drive side and move it to the non-drive side or vice versa. (Of course, make sure the chainring does not contact the chainstay on the frame to avoid damage)

Failing that, you mention in the comments that you changed the chain recently. If your previous chain was very worn, it might be that the chainring is now also worn and might need replacing.