Page { height: calc(100% - 3rem) /*needed for scrolling*/ $backgroundPrimary margin-top: 3rem display: flex div.Context { min-height: calc(100% - 3rem) overflow-y: auto overflow-x: hidden } div.content { min-height: calc(100% - 3rem) overflow-y: auto flex-grow: 1 padding: 1rem margin: 0 auto } }