Will this configuration work properly? I test mounted this setup and the 38t ring appeared pretty close to the chainstay even with the spacer installed on the drive side.

I then remounted my SRAM s1400 2x10 crank and the 38t ring appears to have more clearance from the chainstay.

What am I missing here?

Is there some spacing the crank and bottom brackets that is different or specific to SRAM 2x10 with 38/24t rings?