This is an area where I get pretty excited about EVs. You don't have to hinge a literal block of metal downwards so it doesn't end up in passenger's lap. The sled design provides a ton of lateral rigidity that's hard to match.
It's no wonder that Tesla destroyed the competition on safety. There's also probably still improvements to be made given how new EVs are yet.
Weirdly, the non-electric Smart Car can actually fit some big people, but it does suffer a bit in the gas mileage department.
I am enjoying driving a hybrid for the weight distribution the batteries provide. It does help winter driving to have some balance in weight on the back wheels.
Compacts tend to be taller. For some reason, as they make cars longer, they make them shorter. Though my Leaf is still several inches taller than a Volt, with about the same length. The Volt is horrible for leg room.