0👍
✅
There was an extra area that was meant for a label above the content of both types of inputs that was generating the extra space and causing the elements to shift. Once I removed that empty label, everything worked fine.
Source:stackexchange.com