How does margin adjustment work?

Updated