Appreciate any suggestion to this. I'm working to connect the drain/vent from our new shower to the rest of the system and unfortunately the joist are quite close. Looking at the picture below I planning to install the p-trap rotated at 90 deg from the direction of flow. Any potential issue later one or comments from inspector? Any other concern? Thank you.