I’ve used these adjustable fridge dividers here: 17 Organization Tips & Hacks
Recommended Affiliate Product

Adjustable Refrigerator Dividers
An Affiliate Product By Amazon
"These little dividers stop condiments from sliding around and spilling in the fridge. I find them really helpful in organizing!"