The problem
The settings card in the video holds a Profile group, with Full name and Email, and a Notifications group, with two switches, above a Save changes button. Every gap in it is the same, 16 px. So nothing looks grouped, and four divider lines try to do the job instead. The Email label shows it best: it sits 16 px from the box above and 16 px from its own box, so it could belong to either.
The fix
- Labels. Put each label 8 px from its own box and 20 px from the one above. Now it clearly belongs.
- Groups. Inside a group, keep the gaps between 8 and 20 px. Between groups, use 32 px.
- Dividers. The lines have nothing left to do, so delete all four.
Why it works
Things that sit close together read as one group. Designers call this the law of proximity. When every gap is equal, the space says nothing, so lines have to say it for you. Once the gaps inside a group are smaller than the gap between groups, the space draws the line and the dividers only repeat it. Nothing was added to make this work. The card is the same height, with the same 128 px of space. The space moved.
How to apply it
Look at the gaps in your next form or settings screen before you reach for a border. Pick small gaps for things that belong together and a larger one between groups, and keep every gap inside a group smaller than the gap between groups. Then take the lines out and check that the groups still read.

