Свойство
scroll-padding позволяет задать отступы внутри элемента, влияющие на прокрутку его содержимого.📖 Пример:
.Container {
height: 100vh;
display: flex;
flex-direction: column;
}
.FixedHeader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
background: #2d0094;
}
.Content {
overflow-y: auto;
scroll-padding-top: 50px;
}
Подробнее в документации