CSSREF

CSS scroll-margin Property

Set scroll margin to 20px between the snap position and the container: