CSSREF

CSS scroll-margin-bottom Property

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