With spider jockeys, the skeleton's model rests inside of the spider's chest rather than on top of it. There still seems to be open room above the skeleton (as seen in the second image) to move the skeleton higher without making the mob combo go above 2 blocks tall.
If possible, the skeleton should be riding on top of the spider.
Related issues
is duplicated by
Attachments
Comments

[media][media][media][media][media]
This behavior is present in 1.17.1 as well and isn't exclusive to the 1.18 snapshots.

In 22w14a

In 22w15a
Can confirm in 1.19.

Can confirm in 1.20.
Command for spawning a spider jockey:
/summon spider ~ ~ ~ {Passengers:[{id:skeleton}]}