Just wrap them in a <div style={{ display: 'flex' }}>. That way, at least your elements will be aligned, even if your life choices aren’t. If it still doesn't work, blame CSS — it's the emotional support scapegoat of the frontend world.