I have a working Arduino circuit, however, it’s pretty much all the components plugged into a breadboard right now. The component I highlighted in pink would be sticking quite a ways out from under the deck. I could rotate that piece, but it would be very unstable. I was wondering if any more experienced people know of components to rearrange or flatten these types of setups.
Take it off the breadboard, and attach the wires directly to the pins.
You may also want an Arduino Nano, or another one without headers, as soldering wires lets you flatten the system (also stays together easily too)